syohex/emacs-hcl-mode

Multi-line string interpolation highlighting

ivan-m opened this issue · 2 comments

If a string interpolation is split over multiple lines (e.g. the tags example in local variables for Terraform) then hcl-mode will treat it as a plain string (though the sub-strings will end up with the default face).

I think it may be because you ensure \n does exist within the string, but just removing it from hcl--string-interpolation-regexp didn't seem to change anything.

asnr commented

Visually, for me it looks like:

image

https://github.com/purcell/emacs-hcl-mode

This package is no longer maintained. If you have an issue, please send it to https://github.com/purcell/emacs-hcl-mode