zed
zed copied to clipboard
Svelte syntax highlighting breaks using `context="module"` with Javascript
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
When using context="module"
on a script tag in Svelte that is also using Javascript (not Typescript) syntax highlighting completely breaks in the context="module"
script tags.
Highlighting can be restored temporarily by removing the module
value from the attribute and re-adding. However it will break again if any content of the script tag is edited.
Environment
Zed: v0.131.7 (Zed) OS: macOS 14.3.1 Memory: 32 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your ~/Library/Logs/Zed/Zed.log
file to this issue.
No response