-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Incorrect Svelte Syntax Highlighting #6673
Comments
Closing as duplicate of pinned issue #6668 |
Actually, cancel that. This will be an issue with the upstream grammar. Please open an issue there. |
Thanks for the comments. Am I supposed to create an issue on sveltejs/language-tools? The syntax highlighting works on all other platforms - it is just broken on github.com. This is the reason I've created this issue in this repository. |
Yes. We take the grammar as provided by that repo so if it's not highlighting correctly, it something in the grammar... except if it's caused by the issue I originally highlighted. |
Describe the bug
Svelte's
$: if( ) { }
syntax seems to be broken. GitHub GistCurrently,
lang="ts"
is required to correctly highlight this syntax.Expected behaviour
In the above example, the highlight should be identical for JS and TS.
Related discussion
Additional notes
The text was updated successfully, but these errors were encountered: