aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/c_sharp/highlights.scm19
1 files changed, 9 insertions, 10 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index 7eaa5a314..893c7dad5 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -45,10 +45,8 @@
(using_directive
(identifier) @type)
-(using_directive
- (qualified_name
- (identifier) @type))
-
+(qualified_name
+ (identifier) @type)
(property_declaration
name: (identifier) @property)
@@ -66,13 +64,14 @@
(object_creation_expression
(identifier) @type)
-(variable_declaration
- (generic_name
- (identifier) @type))
-(object_creation_expression
- (generic_name
- (identifier) @type))
+(generic_name
+ (identifier) @type)
+
+(base_list
+ (identifier) @type)
+(type_argument_list
+ (identifier) @type)
(attribute
name: (identifier) @attribute)