diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 4198a19..5900f1f 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -86,7 +86,7 @@ call s:setup_options() if !exists('g:tagbar_iconchars') if has('multi_byte') && has('unix') && &encoding ==# 'utf-8' && - \ (empty(&termencoding) || &termencoding ==# 'utf-8') + \ (!exists('+termencoding') || empty(&termencoding) || &termencoding ==# 'utf-8') let g:tagbar_iconchars = ['▶', '▼'] else let g:tagbar_iconchars = ['+', '-']