summaryrefslogtreecommitdiff
path: root/queries/c_sharp
diff options
context:
space:
mode:
Diffstat (limited to 'queries/c_sharp')
-rw-r--r--queries/c_sharp/highlights.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index 96d42fd1..7847cdb4 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -8,8 +8,12 @@
(interpolation) @none
-; (invocation_expression
-; (identifier) @method)
+(invocation_expression
+ (member_access_expression
+ name: (identifier) @method))
+
+(invocation_expression
+ (identifier) @method)
((identifier) @field
(#match? @field "^_"))