[vim] remove WhatFunction in statusbar by default.
This function could cause auto scrolling on long line
This commit is contained in:
parent
4f53be82f3
commit
0764a40230
5
.vimrc
5
.vimrc
@ -611,7 +611,10 @@ function! WhatFunction()
|
|||||||
return ret
|
return ret
|
||||||
endfunction
|
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
|
" Language
|
||||||
|
Loading…
Reference in New Issue
Block a user