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:
@@ -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