1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

Fix displaying the filename in the statusbar

This commit is contained in:
Jan Larres
2011-04-09 02:09:19 +12:00
parent 1cc96abced
commit 3e4bd07b48

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