From 56cd34830df4cd4c6959cf1b863a1d3d2a760538 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Sat, 24 Aug 2013 20:50:27 +1200 Subject: [PATCH] Remove deprecated GenerateStatusline() function --- autoload/tagbar.vim | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index c4388db..13e450c 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -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