mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlight template interpolation enclosures as punctuation.bracket; cleanup
This commit is contained in:
parent
e607de4e1e
commit
8eb29ef93e
1 changed files with 6 additions and 4 deletions
|
|
@ -64,10 +64,12 @@
|
|||
(heredoc_start) ; END
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
(template_interpolation_start) ; ${
|
||||
(template_interpolation_end) ; }
|
||||
] @string.escape
|
||||
( template_interpolation
|
||||
[
|
||||
(template_interpolation_start) ; ${
|
||||
(template_interpolation_end) ; }
|
||||
] @punctuation.bracket
|
||||
)
|
||||
|
||||
(numeric_lit) @number
|
||||
(bool_lit) @boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue