mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-06 13:40:36 +02:00
Remove deprecated GenerateStatusline() function
This commit is contained in:
1 parent
0b14e28719
commit
56cd34830d
1 file changed
-16
@@ -3653,22 +3653,6 @@ function! TagbarBalloonExpr() abort
|
||||
return taginfo.getPrototype(0)
|
||||
endfunction
|
||||
|
||||
" TagbarGenerateStatusline() {{{2
|
||||
function! TagbarGenerateStatusline() abort
|
||||
if get(s:compare_typeinfo, 'sort', g:tagbar_sort)
|
||||
let text = '[Name]'
|
||||
else
|
||||
let text = '[Order]'
|
||||
endif
|
||||
|
||||
if !empty(s:known_files.getCurrent())
|
||||
let filename = fnamemodify(s:known_files.getCurrent().fpath, ':t')
|
||||
let text .= ' ' . filename
|
||||
endif
|
||||
|
||||
return text
|
||||
endfunction
|
||||
|
||||
" Debugging {{{1
|
||||
" s:StartDebug() {{{2
|
||||
function! s:StartDebug(filename) abort
|
||||
|
||||
Reference in new issue
Block a user