Skip to content

Commit 68d98dc

Browse files
committed
fix(vscode): correct syntax highlight of control directives ending with / or )
fix #5473
1 parent 91bc061 commit 68d98dc

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))(?=[=>\\s])",
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)