1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-18 03:50:26 +01:00

Remove deprecated GenerateStatusline() function

This commit is contained in:
Jan Larres
2013-08-24 20:50:27 +12:00
parent 0b14e28719
commit 56cd34830d

View File

@@ -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