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
The text was updated successfully, but these errors were encountered:
JessicaSachs
changed the title
syntax highlighting breaks when script tags export types without an empty line below
syntax highlighting breaks when script tags export types without an empty line break
Feb 25, 2022
Thanks for the report :), this is embedded language syntax highlight issue, it's hard to change in volar (or maybe impossible), I personal use semicolon at line end so I can avoid it.
(Run editor.action.inspectTMScopes command to inspect it)
I noticed this issue has been marked as complete, but there’s no reference to an upstream issue. Could you provide a link to the relevant upstream discussion or fix? This would help with tracking progress and understanding how the issue was resolved.
Summary
When you export a type from a non-setup script block and do not add an empty line, the syntax highlighting breaks.
Pics
Steps to reproduce
Export a type from an SFC (it doesn't seem to fail when exporting constants, functions, or interfaces)
Broken Example
Workaround
The text was updated successfully, but these errors were encountered: