mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
highlights(c_sharp): use more specific groups
This commit is contained in:
parent
1ba1c5c1a7
commit
68c647f13b
1 changed files with 23 additions and 15 deletions
|
|
@ -79,6 +79,9 @@
|
||||||
(using_directive
|
(using_directive
|
||||||
(identifier) @type)
|
(identifier) @type)
|
||||||
|
|
||||||
|
(using_directive
|
||||||
|
(name_equals (identifier) @type.definition))
|
||||||
|
|
||||||
(property_declaration
|
(property_declaration
|
||||||
name: (identifier) @property)
|
name: (identifier) @property)
|
||||||
|
|
||||||
|
|
@ -304,6 +307,7 @@
|
||||||
|
|
||||||
[
|
[
|
||||||
"using"
|
"using"
|
||||||
|
"as"
|
||||||
] @include
|
] @include
|
||||||
|
|
||||||
(alias_qualified_name
|
(alias_qualified_name
|
||||||
|
|
@ -316,7 +320,6 @@
|
||||||
"nameof"
|
"nameof"
|
||||||
"sizeof"
|
"sizeof"
|
||||||
"is"
|
"is"
|
||||||
"as"
|
|
||||||
"and"
|
"and"
|
||||||
"or"
|
"or"
|
||||||
"not"
|
"not"
|
||||||
|
|
@ -331,23 +334,9 @@
|
||||||
"params"
|
"params"
|
||||||
"operator"
|
"operator"
|
||||||
"default"
|
"default"
|
||||||
"abstract"
|
|
||||||
"const"
|
|
||||||
"extern"
|
|
||||||
"implicit"
|
"implicit"
|
||||||
"explicit"
|
"explicit"
|
||||||
"internal"
|
|
||||||
"override"
|
"override"
|
||||||
"private"
|
|
||||||
"protected"
|
|
||||||
"public"
|
|
||||||
"internal"
|
|
||||||
"partial"
|
|
||||||
"readonly"
|
|
||||||
"sealed"
|
|
||||||
"static"
|
|
||||||
"virtual"
|
|
||||||
"volatile"
|
|
||||||
"async"
|
"async"
|
||||||
"await"
|
"await"
|
||||||
"class"
|
"class"
|
||||||
|
|
@ -369,6 +358,25 @@
|
||||||
"fixed"
|
"fixed"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
|
[
|
||||||
|
"const"
|
||||||
|
"extern"
|
||||||
|
"readonly"
|
||||||
|
"static"
|
||||||
|
"volatile"
|
||||||
|
] @storageclass
|
||||||
|
|
||||||
|
[
|
||||||
|
"abstract"
|
||||||
|
"private"
|
||||||
|
"protected"
|
||||||
|
"internal"
|
||||||
|
"public"
|
||||||
|
"partial"
|
||||||
|
"sealed"
|
||||||
|
"virtual"
|
||||||
|
] @type.qualifier
|
||||||
|
|
||||||
(parameter_modifier) @operator
|
(parameter_modifier) @operator
|
||||||
|
|
||||||
(query_expression
|
(query_expression
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue