diff --git a/.vimrc b/.vimrc index ca58826..c4c2aac 100644 --- a/.vimrc +++ b/.vimrc @@ -611,7 +611,10 @@ function! WhatFunction() return ret endfunction -set statusline=%<%f\ %h%w%m%r%3.(\ %)%{fugitive#statusline()}%=%([%{Tlist_Get_Tagname_By_Line()}%{WhatFunction()}]%)%3.(\ %)%-14.(%l,%c%V%)\ %P +set statusline=%<%f\ %h%w%m%r%3.(\ %)%{fugitive#statusline()}%=%([%{Tlist_Get_Tagname_By_Line()}]%)%3.(\ %)%-14.(%l,%c%V%)\ %P +" Use WhatFunction could create some problems with lines longer that the +" screen size. WhatFunction could be interesting for C++ function +" set statusline=%<%f\ %h%w%m%r%3.(\ %)%{fugitive#statusline()}%=%([%{Tlist_Get_Tagname_By_Line()}%{WhatFunction()}]%)%3.(\ %)%-14.(%l,%c%V%)\ %P """"""""""""""""""""""""""""""""""""""""""" " Language