Follow interface change of Tlist_Get_Filenames() in taglist

fac4055600 (diff-f6bf21c80d33916483d5e6c73613457b588f0c86886ebf84f6a50f242e36d72bL3687)
This commit is contained in:
WADA Takashi 2022-07-27 10:59:39 +09:00
parent ebb89a0846
commit 61dc750149
No known key found for this signature in database
GPG Key ID: 1E06581B4036247F

View File

@ -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