From e2498d72dcc123115ed1d0fe1449beba6dadecc2 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Mon, 28 Feb 2022 15:41:38 +0100 Subject: [PATCH] taglist: avoid v:true/v:false --- autoload/airline/extensions/taglist.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions/taglist.vim b/autoload/airline/extensions/taglist.vim index dffa8d6e..042dd5ff 100644 --- a/autoload/airline/extensions/taglist.vim +++ b/autoload/airline/extensions/taglist.vim @@ -11,10 +11,10 @@ endif function! airline#extensions#taglist#currenttag() " Update tag list if taglist is not loaded (else we get an empty tag name) " Load yegappan/taglist and vim-scripts/taglist.vim only once. - let tlist_updated = v:false + let tlist_updated = 0 if !exists('*taglist#Tlist_Get_Tagname_By_Line()') && !exists('*Tlist_Get_Tagname_By_Line()') TlistUpdate - let tlist_updated = v:true + let tlist_updated = 1 endif if !tlist_updated && exists('*Tlist_Get_Filenames()') if stridx(Tlist_Get_Filenames(), expand('%:p')) < 0