ThisIsManta / stylus-supremacy

A Node.js script that helps formatting Stylus files.
https://thisismanta.github.io/stylus-supremacy
MIT License
88 stars 9 forks source link

vue component bug in vscode #42

Closed wangxdmm closed 1 year ago

wangxdmm commented 5 years ago

when I use two tags like

<style lang="stylus" rel="stylesheet/stylus">
styluscode a
</style>
<style scoped lang="stylus" rel="stylesheet/stylus">
styluscode b
</style>

when I formate the code styluscode b will be replaced by styluscode a..

I don't how to solve this problem I am looking forward to your reply ~v~

ThisIsManta commented 5 years ago

I believe this is the limitation of Vetur extension and has nothing to do with Stylus Supremacy. I remember someone raised the same issue before, please find it in Vetur repository.

Thanks!

wangxdmm commented 5 years ago

@ThisIsManta Thanks for your reply ~ That's the limitation of Vetur If someone come across the same problem click!!

octref commented 5 years ago

Would be fixed by https://github.com/vuejs/vetur/pull/1174.