mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
highlights(d): use more specific groups
This commit is contained in:
parent
c2d9cf9926
commit
f30ae4da0d
1 changed files with 29 additions and 19 deletions
|
|
@ -114,44 +114,25 @@
|
||||||
] @repeat
|
] @repeat
|
||||||
|
|
||||||
[
|
[
|
||||||
"__gshared"
|
|
||||||
"__parameters"
|
"__parameters"
|
||||||
"abstract"
|
|
||||||
"alias"
|
"alias"
|
||||||
"align"
|
"align"
|
||||||
"asm"
|
"asm"
|
||||||
"auto"
|
"auto"
|
||||||
"body"
|
"body"
|
||||||
"class"
|
"class"
|
||||||
"const"
|
|
||||||
"debug"
|
"debug"
|
||||||
"deprecated"
|
|
||||||
"enum"
|
"enum"
|
||||||
"export"
|
"export"
|
||||||
"extern"
|
|
||||||
"final"
|
|
||||||
"goto"
|
"goto"
|
||||||
"immutable"
|
|
||||||
"inout"
|
|
||||||
"interface"
|
"interface"
|
||||||
"invariant"
|
"invariant"
|
||||||
"lazy"
|
|
||||||
"macro"
|
"macro"
|
||||||
"nothrow"
|
|
||||||
"null"
|
|
||||||
"out"
|
"out"
|
||||||
"override"
|
"override"
|
||||||
"package"
|
"package"
|
||||||
"private"
|
|
||||||
"protected"
|
|
||||||
"public"
|
|
||||||
"pure"
|
|
||||||
"ref"
|
|
||||||
"scope"
|
|
||||||
"shared"
|
|
||||||
"static"
|
"static"
|
||||||
"struct"
|
"struct"
|
||||||
"synchronized"
|
|
||||||
"template"
|
"template"
|
||||||
"union"
|
"union"
|
||||||
"unittest"
|
"unittest"
|
||||||
|
|
@ -219,6 +200,35 @@
|
||||||
"try"
|
"try"
|
||||||
] @exception
|
] @exception
|
||||||
|
|
||||||
|
"null" @constant.builtin
|
||||||
|
|
||||||
|
[
|
||||||
|
"__gshared"
|
||||||
|
"const"
|
||||||
|
"immutable"
|
||||||
|
"shared"
|
||||||
|
] @storageclass
|
||||||
|
|
||||||
|
[
|
||||||
|
"abstract"
|
||||||
|
"deprecated"
|
||||||
|
"extern"
|
||||||
|
"final"
|
||||||
|
"inout"
|
||||||
|
"lazy"
|
||||||
|
"nothrow"
|
||||||
|
"private"
|
||||||
|
"protected"
|
||||||
|
"public"
|
||||||
|
"pure"
|
||||||
|
"ref"
|
||||||
|
"scope"
|
||||||
|
"synchronized"
|
||||||
|
] @type.qualifier
|
||||||
|
|
||||||
|
(alias_assignment
|
||||||
|
. (identifier) @type.definition)
|
||||||
|
|
||||||
(module_declaration
|
(module_declaration
|
||||||
"module" @include
|
"module" @include
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue