When using the Stylus syntax highlighter nested inside a .vue file, the enter key with the cursor placed at the end of a Stylus syntax line has no effect.
The syntax for .vue files is provided by vue-syntax-highlight.
When it works:
<style lang="stylus">
a
color: black
</style>
<template>
</template>
When it doesn't work:
<template>
</template>
<style lang="stylus">
a
color: black
</style>
The issue appears in the second example when placing the cursor after black and pressing enter.
If you think the issue is not related to this package but to vue-syntax-highlight, I'll report it there :)
Related to #43
When using the Stylus syntax highlighter nested inside a .vue file, the enter key with the cursor placed at the end of a Stylus syntax line has no effect. The syntax for .vue files is provided by vue-syntax-highlight.
When it works:
When it doesn't work:
The issue appears in the second example when placing the cursor after
black
and pressing enter.If you think the issue is not related to this package but to
vue-syntax-highlight
, I'll report it there :)