mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-02-22 04:28:39 +08:00

Avoid the error `Unknown function: taglist#Tlist_Get_Tagname_By_Line` when using the old tag tlist plugin in a different way. this means, we have to revert 58410396797054c4bceacaf7142aef7aab545496 since exists() does not handle autoloaded functions correctly. We can only check it, after we have used the taglist plugin, so that the autoloading has happened. That means, move the exists() call after the `:TListUpdate` call which will correctly autoload taglist and then exists() can check for the existence of the `taglist#Tlist_Get_Tagname_By_Line()` function correctly. closes: #2463