vetur
vetur copied to clipboard
Syntax highlighting does not work for style blocks with `lang="stylus"` and multiline attributes
- [x] I have searched through existing issues
- [x] I have read through docs
- [x] I have read FAQ
- [x] I have tried restarting VS Code or running
Vetur: Restart VLS
Info
- Platform:
- Vetur version: 0.35.0
- VS Code version: 1.66.0
- language-stylus: 1.15.0
Problem
Syntax highlighting does not work for style blocks with lang="stylus"
and multiline attributes.
Without language-stylus extension, not working:
With language-stylus extension, not working:
Example block with lang="css"
and multiline attributes, working:
This problem revealed itself when using Prettier with new singleAttributePerLine
option.
Reproducible Case
<style lang="stylus" scoped>
.test
font-size: 12px
</style>
<style
lang="stylus"
scoped
>
.test
font-size: 12px
</style>
Having the same issue here 👍 The issue is related to #3379 and #1477.
I am surprised to see that none of these issues has any activity 🤔
Duplicate of #1477