tagbar: break too long line

This commit is contained in:
Christian Brabandt 2023-01-19 21:45:37 +01:00
parent 08cfcf9408
commit dc1b607f56
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -43,7 +43,8 @@ function! airline#extensions#tagbar#currenttag()
let flags = get(g:, 'airline#extensions#tagbar#flags', '')
" function tagbar#currenttag does not exist, if filetype is not enabled
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()
endif
return s:airline_tagbar_last_lookup_val