-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Simple string breaks vscode's and github's syntax highlighting #809
Comments
this alone: console.log()
(false ? 3 : ') =>')
console.log() breaks it too |
@retnikt sure, my example forces the formatter to keep the parentheses so it eliminates the "parser is waiting for input" hypothesis as they would not be of any use otherwise
To reproduce :
goes away on ctrl+f5 |
I confirmed this using the latest grammar from master. I believe the issue is that |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Paste the following line into a javascript file :
anything coming after it won't get parsed
...github breaks on it too, guess y'all use the same stuff
edit :
github fails on preview but still applies syntax after posting
on vscode, the first example only breaks the following line,
here is another that breaks the whole end of the file
The text was updated successfully, but these errors were encountered: