1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

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

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