diff --git a/extensions/vscode/syntaxes/vue.tmLanguage.json b/extensions/vscode/syntaxes/vue.tmLanguage.json index 71109bc144..fbe30285e2 100644 --- a/extensions/vscode/syntaxes/vue.tmLanguage.json +++ b/extensions/vscode/syntaxes/vue.tmLanguage.json @@ -856,7 +856,7 @@ ] }, "template-tag-1": { - "begin": "(<)(template)\\b(>)", + "begin": "(<)(template[a-zA-Z0-9:-]*)\\b(>)", "beginCaptures": { "1": { "name": "punctuation.definition.tag.begin.html.vue" @@ -878,7 +878,7 @@ "patterns": [ { "begin": "\\G", - "end": "(?=/>)|(()|(()|(()|(( script-tag-in-script.vue 1`] = ` #^ source.vue" `; +exports[`grammar > tag-starts-with-template.vue 1`] = ` +"> +#^^ source.vue punctuation.definition.tag.begin.html.vue +# ^^^^^^^^ source.vue entity.name.tag.template.html.vue +# ^ source.vue punctuation.definition.tag.end.html.vue" +`; + exports[`grammar > template-expression.vue 1`] = ` ">