summaryrefslogtreecommitdiff
path: root/queries/c_sharp
diff options
context:
space:
mode:
authorSteve Vermeulen <sfvermeulen@gmail.com>2020-07-19 13:59:43 -0700
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-07-20 23:19:18 +0200
commit2391930b702cbd2ab2e2bc90a3d22978e3e14574 (patch)
treee1aae233a097f6be3e74a9d18176707e5b5e20e0 /queries/c_sharp
parent5db4bb1b3f80fcd846fef579e268fe569b0941db (diff)
Commenting out the attempt to highlight method calls for now
Diffstat (limited to 'queries/c_sharp')
-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 "^_"))