mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
highlights(c_sharp): improve highlighting of interpolations
This commit is contained in:
parent
fb5a2882df
commit
44e44c31a4
1 changed files with 2 additions and 6 deletions
|
|
@ -6,11 +6,7 @@
|
||||||
(method_declaration
|
(method_declaration
|
||||||
type: (identifier) @type)
|
type: (identifier) @type)
|
||||||
|
|
||||||
; This would be nice but fails in some cases
|
(interpolation) @none
|
||||||
; https://github.com/nvim-treesitter/nvim-treesitter/pull/203
|
|
||||||
; (invocation_expression
|
|
||||||
; (member_access_expression
|
|
||||||
; name: (identifier) @method))
|
|
||||||
|
|
||||||
; (invocation_expression
|
; (invocation_expression
|
||||||
; (identifier) @method)
|
; (identifier) @method)
|
||||||
|
|
@ -37,7 +33,7 @@
|
||||||
|
|
||||||
[
|
[
|
||||||
(string_literal)
|
(string_literal)
|
||||||
(interpolated_string_text)
|
(interpolated_string_expression)
|
||||||
] @string
|
] @string
|
||||||
|
|
||||||
(boolean_literal) @boolean
|
(boolean_literal) @boolean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue