aboutsummaryrefslogtreecommitdiffstats
path: root/queries/c_sharp
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-05-31 22:26:35 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2021-06-01 21:53:21 +0200
commit44e44c31a415df0c183df58a1ee84488c529159e (patch)
treef8c49d8d9a10d05c8199675c47e1e1cb0af0b6f2 /queries/c_sharp
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-44e44c31a415df0c183df58a1ee84488c529159e.tar
nvim-treesitter-44e44c31a415df0c183df58a1ee84488c529159e.tar.gz
nvim-treesitter-44e44c31a415df0c183df58a1ee84488c529159e.tar.bz2
nvim-treesitter-44e44c31a415df0c183df58a1ee84488c529159e.tar.lz
nvim-treesitter-44e44c31a415df0c183df58a1ee84488c529159e.tar.xz
nvim-treesitter-44e44c31a415df0c183df58a1ee84488c529159e.tar.zst
nvim-treesitter-44e44c31a415df0c183df58a1ee84488c529159e.zip
highlights(c_sharp): improve highlighting of interpolations
Diffstat (limited to 'queries/c_sharp')
-rw-r--r--queries/c_sharp/highlights.scm8
1 files changed, 2 insertions, 6 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index edc86d8f1..96d42fd17 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -6,11 +6,7 @@
(method_declaration
type: (identifier) @type)
-; 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))
+(interpolation) @none
; (invocation_expression
; (identifier) @method)
@@ -37,7 +33,7 @@
[
(string_literal)
- (interpolated_string_text)
+ (interpolated_string_expression)
] @string
(boolean_literal) @boolean