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

Wrong Syntax Highliting #109

Open
HamaDler opened this issue Jan 30, 2023 · 0 comments
Open

Wrong Syntax Highliting #109

HamaDler opened this issue Jan 30, 2023 · 0 comments

Comments

@HamaDler
Copy link

Describe the issue
In a .js file when having a string literal that includes '/*' , it thinks you're trying to start a multiline comment. This messes up syntax highlighting for that lines and the lines after it.

It happened to me when I wanted to have a wildcard selector for path names as you see in the screenshots below.

Screenshot of Current Behavior
image

Screenshot of Expected Behavior
image

Workarounds
The issue only happens when using string literals, if you separate the string like this, the issue goes away.
image

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