highlight template interpolation enclosures as punctuation.bracket; cleanup

This commit is contained in:
mhoffm 2021-07-02 16:53:19 +02:00 committed by Stephan Seitz
parent e607de4e1e
commit 8eb29ef93e

View file

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