You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using pug + typescript breaks syntax highlighting in vue files, when using a TS reserved name inside v-for.
Reproducible Case
<templatelang="pug">
ul
//- syntax highlighting breaks within this line, until eof
li(v-for="type in types") {{ type }}
</template>
<scriptlang="ts">exportdefault { data() {return { types: ['a', 'b'] }; },};</script>
using v-for="(type) in types" avoids it.
The text was updated successfully, but these errors were encountered:
i rather prefer no syntax highlighting for interpolations insteadof broken highlighting, and i guess i am not the only one. maybe add a setting to opt out of interpolation highlighting.
Info
Problem
Using pug + typescript breaks syntax highlighting in vue files, when using a TS reserved name inside v-for.
Reproducible Case
using
v-for="(type) in types"
avoids it.The text was updated successfully, but these errors were encountered: