mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue