summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/c_sharp/highlights.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index 37ebe75b..2b31ba10 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -2,12 +2,14 @@
(method_declaration
name: (identifier) @method)
-(invocation_expression
- (member_access_expression
- name: (identifier) @method))
-
-(invocation_expression
- (identifier) @method)
+; This would be nice but fails in some cases
+; https://github.com/nvim-treesitter/nvim-treesitter/pull/203
+; (invocation_expression
+; (member_access_expression
+; name: (identifier) @method))
+
+; (invocation_expression
+; (identifier) @method)
((identifier) @field
(#match? @field "^_"))