mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-06 05:20:41 +02:00
Fix displaying the filename in the statusbar
This commit is contained in:
1 parent
1cc96abced
commit
3e4bd07b48
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user