mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 19:40:29 +01:00
Fix for tags on statusline
This commit is contained in:
6
vimrc
6
vimrc
@@ -94,10 +94,8 @@ set statusline=%<%F " filename (fullpath)
|
|||||||
set statusline+=\ %h " indicator for help buffer
|
set statusline+=\ %h " indicator for help buffer
|
||||||
set statusline+=%m " modified flag
|
set statusline+=%m " modified flag
|
||||||
set statusline+=%r " readonly flag
|
set statusline+=%r " readonly flag
|
||||||
if exists(':Tagbar')
|
set statusline+=\ %{exists(':Tagbar')!=0?tagbar#currenttag('%s','','f'):''} " current tag
|
||||||
set statusline+=\ %{tagbar#currenttag('%s','','f')} " current tag
|
set statusline+=\ %{exists(':Tagbar')!=0?tagbar#currenttagtype('(%s)',''):''} " current tag type
|
||||||
set statusline+=\ %{tagbar#currenttagtype('(%s)','')} " current tag type
|
|
||||||
endif
|
|
||||||
set statusline+=%= " switch to the right
|
set statusline+=%= " switch to the right
|
||||||
set statusline+=%(%l,%c%V%) " line, column and virtual column
|
set statusline+=%(%l,%c%V%) " line, column and virtual column
|
||||||
set statusline+=\ %3p%% " percentage of the file
|
set statusline+=\ %3p%% " percentage of the file
|
||||||
|
|||||||
Reference in New Issue
Block a user