aboutsummaryrefslogtreecommitdiffstats
path: root/queries/c_sharp
diff options
context:
space:
mode:
Diffstat (limited to 'queries/c_sharp')
-rw-r--r--queries/c_sharp/highlights.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index 37ebe75bc..2b31ba107 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))
+; 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)
+; (invocation_expression
+; (identifier) @method)
((identifier) @field
(#match? @field "^_"))