diff --git a/doc/tagbar.txt b/doc/tagbar.txt index 33e85e1..015a44a 100644 --- a/doc/tagbar.txt +++ b/doc/tagbar.txt @@ -430,8 +430,8 @@ TagbarKind TagbarScope Tags that define a scope like classes, structs etc. -TagbarScopeType - The type of a scope after the colon, for example "class", "struct" etc. +TagbarType + The type of a tag or scope if available. TagbarSignature Function signatures. diff --git a/syntax/tagbar.vim b/syntax/tagbar.vim index 43dc895..749ede7 100644 --- a/syntax/tagbar.vim +++ b/syntax/tagbar.vim @@ -40,14 +40,14 @@ else endif syntax match TagbarComment '^".*' -syntax match TagbarScopeType ' : \zs.*' +syntax match TagbarType ' : \zs.*' syntax match TagbarSignature '(.*)' syntax match TagbarPseudoID '\*\ze :' highlight default link TagbarComment Comment highlight default link TagbarKind Identifier highlight default link TagbarScope Title -highlight default link TagbarScopeType Type +highlight default link TagbarType Type highlight default link TagbarSignature SpecialKey highlight default link TagbarPseudoID NonText highlight default link TagbarFoldIcon Statement