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

Merge pull request #701 from Shane-XB-Qian/master

This commit is contained in:
Caleb Maclennan
2020-11-03 11:15:37 +03:00
committed by GitHub
3 changed files with 7 additions and 2 deletions

2
.gitignore vendored
View File

@@ -1 +1 @@
/doc/tags
tags

View File

@@ -1101,6 +1101,9 @@ TagbarScope
TagbarType
The type of a tag or scope if available.
TagbarTagLineN
The source line number displayed to the right of each tag entry.
TagbarSignature
Function signatures.

View File

@@ -36,7 +36,8 @@ syntax match TagbarHelpKey '" \zs.*\ze:' contained
syntax match TagbarHelpTitle '" \zs-\+ \w\+ -\+' contained
syntax match TagbarNestedKind '^\s\+\[[^]]\+\]$'
syntax match TagbarType ' : \zs.*'
syntax match TagbarType ' : \zs.*' contains=TagbarTagLineN
syntax match TagbarTagLineN '\s\+\[[0-9]\+\]\(\s\+\|$\)'
syntax match TagbarSignature '(.*)'
syntax match TagbarPseudoID '\*\ze :'
@@ -47,6 +48,7 @@ highlight default link TagbarKind Identifier
highlight default link TagbarNestedKind TagbarKind
highlight default link TagbarScope Title
highlight default link TagbarType Type
highlight default link TagbarTagLineN Comment
highlight default link TagbarSignature SpecialKey
highlight default link TagbarPseudoID NonText
highlight default link TagbarFoldIcon Statement