From 259b47a691fd765a9870e16b40200080e8de7979 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 23 Sep 2020 17:09:33 +0300 Subject: [PATCH] Fix vimscript snafu from #660, closes #662 --- autoload/tagbar/prototypes/basetag.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/tagbar/prototypes/basetag.vim b/autoload/tagbar/prototypes/basetag.vim index 2f411bf..d002afa 100644 --- a/autoload/tagbar/prototypes/basetag.vim +++ b/autoload/tagbar/prototypes/basetag.vim @@ -3,7 +3,7 @@ let s:visibility_symbols = { \ 'protected' : '#', \ 'private' : '-' \ } -if !empty(g:tagbar_visibility_symbols) +if exists('g:tagbar_visibility_symbols') && !empty(g:tagbar_visibility_symbols) let s:visibility_symbols = g:tagbar_visibility_symbols endif