From 3e4bd07b48a729af8724e7c7f31bc813403266d8 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Sat, 9 Apr 2011 02:09:19 +1200 Subject: [PATCH] Fix displaying the filename in the statusbar --- plugin/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index c05941b..cd2c974 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -2435,7 +2435,7 @@ function! TagbarGenerateStatusline() let text = '[Order]' endif - let filename = fnamemodify(s:current_file, ':t') + let filename = fnamemodify(s:known_files.getCurrent().fpath, ':t') let text .= ' ' . filename return text