mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 16:00: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
|
(heredoc_start) ; END
|
||||||
] @punctuation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
||||||
[
|
( template_interpolation
|
||||||
(template_interpolation_start) ; ${
|
[
|
||||||
(template_interpolation_end) ; }
|
(template_interpolation_start) ; ${
|
||||||
] @string.escape
|
(template_interpolation_end) ; }
|
||||||
|
] @punctuation.bracket
|
||||||
|
)
|
||||||
|
|
||||||
(numeric_lit) @number
|
(numeric_lit) @number
|
||||||
(bool_lit) @boolean
|
(bool_lit) @boolean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue