aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/c_sharp/highlights.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index 8d9ae585e..37ebe75bc 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -2,6 +2,13 @@
(method_declaration
name: (identifier) @method)
+(invocation_expression
+ (member_access_expression
+ name: (identifier) @method))
+
+(invocation_expression
+ (identifier) @method)
+
((identifier) @field
(#match? @field "^_"))
@@ -74,6 +81,7 @@
"if"
"else"
"switch"
+ "break"
"case"
] @conditional
@@ -82,7 +90,6 @@
"for"
"do"
"continue"
- "break"
"in"
"goto"
"foreach"