mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01:00
Check for termencoding just in case
This commit is contained in:
@@ -9,7 +9,8 @@ if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
if has('multi_byte') && &encoding == 'utf-8'
|
||||
if has('multi_byte') && &encoding == 'utf-8' &&
|
||||
\ (empty(&termencoding) || &termencoding == 'utf-8')
|
||||
syntax match TagbarKind '\([▶▼][-+ ]\)\@<=[^-+: ]\+[^:]\+$'
|
||||
syntax match TagbarScope '[^-+#▶▼(* ]\+\(\*\? :\)\@='
|
||||
|
||||
|
||||
Reference in New Issue
Block a user