Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heredocs break syntax highlighting #8

Open
MPomeroy opened this issue Jan 30, 2018 · 1 comment
Open

Heredocs break syntax highlighting #8

MPomeroy opened this issue Jan 30, 2018 · 1 comment

Comments

@MPomeroy
Copy link

MPomeroy commented Jan 30, 2018

Including a heredoc in an HCL file causes this plugin to highlight everything after the heredoc as a string.

Update: Only happens if there is white space before the end delimiter of the HEREDOC

@veger
Copy link

veger commented May 10, 2018

According to syntax:

Multi-line strings start with <<EOF at the end of a line, and end with EOF on its own line (here documents).

It states that "EOF must be on its own line", i.e. it ends when a line is found containing only EOF (so no whitespace, or other things)

So I do not think this is a bug...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants