You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't a regression for #1970 but a duplicate of #1110. This is an upstream limitation in https://github.com/microsoft/TypeScript-TmLanguage. VSCode uses TextMate format for syntax highlight, but the format has capability limitations and will likely never be fixed in the upstream repo.
Describe the bug
I am experiencing the exact same symptoms from #1970
Inside my script tags, if the last line is a type declaration, it breaks syntax highlighting for the rest of the file if there is no semicolon.
Prior bug claimed this was fixed in vscode 1.78
I'm using vscode 1.92.0
This is my first svelte project, so I have no prior history to reference.
Reproduction
component.svelte
Expected behaviour
(but without the semicolon)
System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: