Skip to content

Commit 2536006

Browse files
authored
fix(vscode): correct syntax highlight of v-else (#5470)
1 parent 98230dc commit 2536006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/vscode/syntaxes/vue.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@
10381038
]
10391039
},
10401040
"vue-directives-control": {
1041-
"begin": "(?:(v-for)|(v-if|v-else-if|v-else))(?==)",
1041+
"begin": "(?:(v-for)|(v-if|v-else-if|v-else))(?=[=>\\s])",
10421042
"beginCaptures": {
10431043
"1": {
10441044
"name": "keyword.control.loop.vue"

0 commit comments

Comments
 (0)