mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 03:18:56 +08:00
Merge pull request #2556 from watagashi/follow-interface-change-in-taglist
Follow interface change of Tlist_Get_Filenames() in taglist
This commit is contained in:
commit
9c7790b030
|
@ -17,7 +17,8 @@ function! airline#extensions#taglist#currenttag()
|
|||
let tlist_updated = 1
|
||||
endif
|
||||
if !tlist_updated && exists('*Tlist_Get_Filenames()')
|
||||
if stridx(Tlist_Get_Filenames(), expand('%:p')) < 0
|
||||
let tlist_filenames = Tlist_Get_Filenames()
|
||||
if stridx(type(tlist_filenames) == type([]) ? join(tlist_filenames, '\n') : tlist_filenames, expand('%:p')) < 0
|
||||
TlistUpdate
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user