mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-09 09:54:40 +00:00
* feat(highlight): highlight Terraform and HCL files
The grammar is vendored rather than added as a dependency because it only
ships inside an editor extension, and vendoring keeps the highlight
package limited to Lezer primitives without changing the lockfile.
Block labels map to the string role: the upstream labelName tag has no
Paseo syntax role and would render labels uncoloured.
* fix(highlight): handle Unicode heredoc delimiters and repeated template markers
Heredoc delimiters only accepted ASCII, so a Unicode delimiter was recorded
as empty and the rest of the file rendered as a string. `$$${` consumed the
second marker before confirming `{` followed, which turned an escape into an
interpolation.