From d22e0dd865296e67213c37a916e8a963b5f0012a Mon Sep 17 00:00:00 2001 From: Steve Vermeulen Date: Sun, 19 Jul 2020 14:23:24 -0700 Subject: [PATCH] Few more minor fixes to c# highlighting to cover other cases of types being used --- queries/c_sharp/highlights.scm | 19 +++++++++---------- 1 file 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)