From 44e44c31a415df0c183df58a1ee84488c529159e Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 31 May 2021 22:26:35 +0200 Subject: [PATCH] highlights(c_sharp): improve highlighting of interpolations --- queries/c_sharp/highlights.scm | 8 ++------ 1 file 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