mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
Few more minor fixes to c# highlighting to cover other cases of types being used
This commit is contained in:
parent
e6fe7cdab0
commit
d22e0dd865
1 changed files with 9 additions and 10 deletions
|
|
@ -45,10 +45,8 @@
|
||||||
(using_directive
|
(using_directive
|
||||||
(identifier) @type)
|
(identifier) @type)
|
||||||
|
|
||||||
(using_directive
|
(qualified_name
|
||||||
(qualified_name
|
(identifier) @type)
|
||||||
(identifier) @type))
|
|
||||||
|
|
||||||
(property_declaration
|
(property_declaration
|
||||||
name: (identifier) @property)
|
name: (identifier) @property)
|
||||||
|
|
||||||
|
|
@ -66,13 +64,14 @@
|
||||||
(object_creation_expression
|
(object_creation_expression
|
||||||
(identifier) @type)
|
(identifier) @type)
|
||||||
|
|
||||||
(variable_declaration
|
(generic_name
|
||||||
(generic_name
|
(identifier) @type)
|
||||||
(identifier) @type))
|
|
||||||
(object_creation_expression
|
|
||||||
(generic_name
|
|
||||||
(identifier) @type))
|
|
||||||
|
|
||||||
|
(base_list
|
||||||
|
(identifier) @type)
|
||||||
|
|
||||||
|
(type_argument_list
|
||||||
|
(identifier) @type)
|
||||||
|
|
||||||
(attribute
|
(attribute
|
||||||
name: (identifier) @attribute)
|
name: (identifier) @attribute)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue