From ac5bd1063374de043145762964549402c455a3ea Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 31 May 2021 22:26:58 +0200 Subject: [PATCH] highlights(c#): highlight calls of methods --- queries/c_sharp/highlights.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm index 96d42fd17..7847cdb4f 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 "^_"))