-
-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After this PR was merged for prettier-plugin-svelte, now by using the singleAttributePerLine: true option for Prettier, formatting a Svelte file that has <style lang="scss" global> spreads the attributes across multiple lines, like so:
<style
lang="scss"
global
>
...
</style>This, however, seems to break Svelte's syntax highlighting, for some reason, it doesn't recognize the contents of the <style> tag as SCSS anymore:
Before:
Reproduction
Explained above.
Expected behaviour
It should obviously work.
System Info
- OS: Windows 10
- IDE: VS Code
Which package is the issue about?
svelte-language-server
Additional Information, eg. Screenshots
No response
xamir82
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

