Fix vimscript snafu from #660, closes #662

This commit is contained in:
Caleb Maclennan 2020-09-23 17:09:33 +03:00
parent 8d17340295
commit 259b47a691
No known key found for this signature in database
GPG Key ID: 63CC496475267693

View File

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