summaryrefslogtreecommitdiff
path: root/queries/c_sharp
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-05-31 22:26:58 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2021-06-01 21:53:21 +0200
commitac5bd1063374de043145762964549402c455a3ea (patch)
treee24caf60ba52de0756c8de1ffd4f76f3da1a9ea7 /queries/c_sharp
parent44e44c31a415df0c183df58a1ee84488c529159e (diff)
highlights(c#): highlight calls of methods
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 "^_"))