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

Highlighting errors #13

Open
lzandman opened this issue Mar 31, 2024 · 0 comments
Open

Highlighting errors #13

lzandman opened this issue Mar 31, 2024 · 0 comments

Comments

@lzandman
Copy link

I noticed the syntax highlighting has some issues:

  1. The sensitive keyword isn't recognized in a variable block (screenshot line 47).
  2. Strings ending with a double backslash (\\) are wrongly parsed. As you can see (screenshot line 52), the second to last backslash char is colored belonging to the literal string, whereas the last backslash char is colored as if it belongs to the closing quote char.

Here's a screenshot showing both issues:

Packer-issues

When I delete the last two backslash chars from line 52, the syntax highlighting is fixed for the code following it:

Packer-issues2
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

1 participant