mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
|
||||
[
|
||||
"__gshared"
|
||||
"__parameters"
|
||||
"abstract"
|
||||
"alias"
|
||||
"align"
|
||||
"asm"
|
||||
"auto"
|
||||
"body"
|
||||
"class"
|
||||
"const"
|
||||
"debug"
|
||||
"deprecated"
|
||||
"enum"
|
||||
"export"
|
||||
"extern"
|
||||
"final"
|
||||
"goto"
|
||||
"immutable"
|
||||
"inout"
|
||||
"interface"
|
||||
"invariant"
|
||||
"lazy"
|
||||
"macro"
|
||||
"nothrow"
|
||||
"null"
|
||||
"out"
|
||||
"override"
|
||||
"package"
|
||||
"private"
|
||||
"protected"
|
||||
"public"
|
||||
"pure"
|
||||
"ref"
|
||||
"scope"
|
||||
"shared"
|
||||
"static"
|
||||
"struct"
|
||||
"synchronized"
|
||||
"template"
|
||||
"union"
|
||||
"unittest"
|
||||
|
|
@ -219,6 +200,35 @@
|
|||
"try"
|
||||
] @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" @include
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue