mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-06 13:44:42 +02:00
tagbar: break too long line
This commit is contained in:
parent
08cfcf9408
commit
dc1b607f56
@ -43,7 +43,8 @@ function! airline#extensions#tagbar#currenttag()
|
|||||||
let flags = get(g:, 'airline#extensions#tagbar#flags', '')
|
let flags = get(g:, 'airline#extensions#tagbar#flags', '')
|
||||||
" function tagbar#currenttag does not exist, if filetype is not enabled
|
" function tagbar#currenttag does not exist, if filetype is not enabled
|
||||||
if s:airline_tagbar_last_lookup_time != localtime() && exists("*tagbar#currenttag")
|
if s:airline_tagbar_last_lookup_time != localtime() && exists("*tagbar#currenttag")
|
||||||
let s:airline_tagbar_last_lookup_val = tagbar#currenttag('%s', '', flags, get(g:, 'airline#extensions#tagbar#searchmethod', 'nearest-stl'))
|
let s:airline_tagbar_last_lookup_val = tagbar#currenttag('%s', '', flags,
|
||||||
|
\ get(g:, 'airline#extensions#tagbar#searchmethod', 'nearest-stl'))
|
||||||
let s:airline_tagbar_last_lookup_time = localtime()
|
let s:airline_tagbar_last_lookup_time = localtime()
|
||||||
endif
|
endif
|
||||||
return s:airline_tagbar_last_lookup_val
|
return s:airline_tagbar_last_lookup_val
|
||||||
|
Loading…
x
Reference in New Issue
Block a user