Open
Description
Vue - Official extension or vue-tsc version
Unknown, Reproduced in playground
VSCode version
N/A, Reproduced in playground
Vue version
3.5.14
TypeScript version
5.8.3
System Info
N/A
package.json dependencies
N/A
Steps to reproduce
- Create a
.vue
file - Write following into it:
<template> <template v-if="typeof 'string' === 'string'"> <!-- Syntax highlighting is correct --> </template> <template v-if="typeof 'string' !== 'number'"> <!-- Syntax highlighting is very broken --> </template> </template>
What is expected?
File to be correctly highlighted
What is actually happening?
Link to minimal reproduction
Any additional comments?
After creating the issue I've noticed that syntax highlighting is also broken in github. Funny.