Vetur: Restart VLS
When using nullish coalescing(??) in template, syntax highlighting behaves unexpectedly:

While using || the highlighing is correct:

I don't know why but this problem doesn't happen on my macOS (with same VSCode extensions and settings).
Create a new .vue file:
<template>
<div>
<span>
{{ aVariable ?? 3 }}
</span>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
props: {
aVariable: { type: Number, required: true },
},
});
</script>
Similar happens when using typeof operator in a v-if condition
Using typeof

No typeof

A possible workaround for the typeof could be to add brackets:


Most helpful comment
Similar happens when using typeof operator in a v-if condition
Using typeof

No typeof
