Fix displaying the filename in the statusbar

This commit is contained in:
Jan Larres committed 2011-04-09 02:09:19 +12:00
1 parent 1cc96abced
commit 3e4bd07b48
1 file changed
+1 -1
+1 -1
View File
@@ -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