highlights(c_sharp): improve highlighting of interpolations

This commit is contained in:
Stephan Seitz 2021-05-31 22:26:35 +02:00 committed by Stephan Seitz
parent fb5a2882df
commit 44e44c31a4

View file

@ -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