aboutsummaryrefslogtreecommitdiffstats
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
parentAdded myself as c# maintainer (diff)
downloadnvim-treesitter-2391930b702cbd2ab2e2bc90a3d22978e3e14574.tar
nvim-treesitter-2391930b702cbd2ab2e2bc90a3d22978e3e14574.tar.gz
nvim-treesitter-2391930b702cbd2ab2e2bc90a3d22978e3e14574.tar.bz2
nvim-treesitter-2391930b702cbd2ab2e2bc90a3d22978e3e14574.tar.lz
nvim-treesitter-2391930b702cbd2ab2e2bc90a3d22978e3e14574.tar.xz
nvim-treesitter-2391930b702cbd2ab2e2bc90a3d22978e3e14574.tar.zst
nvim-treesitter-2391930b702cbd2ab2e2bc90a3d22978e3e14574.zip
Commenting out the attempt to highlight method calls for now
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 "^_"))