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

Pug syntax highlighting confuses element id with interpolation #1826

Closed
zachbryant opened this issue Sep 6, 2022 · 0 comments
Closed

Pug syntax highlighting confuses element id with interpolation #1826

zachbryant opened this issue Sep 6, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@zachbryant
Copy link

It looks like the pug syntax highlighting is interpreting element ids as interpolation syntax. Adding brackets around the id achieves the right color.

A picture is worth a thousand words, so here is what I see:
image

while here is what I expect to see (removed id for this example):
image

VScode extension version: v0.40.9
pug: 3.0.2

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants