From e1083093123696b54d146dfe0a0e9530160be4f4 Mon Sep 17 00:00:00 2001 From: johnsoncodehk Date: Sat, 23 Apr 2022 14:42:36 +0800 Subject: [PATCH] fix: avoid directives syntax highlight in html comment inside svg tag close #1206 --- .../vscode-vue-language-features/syntaxes/vue-directives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode-vue-language-features/syntaxes/vue-directives.json b/extensions/vscode-vue-language-features/syntaxes/vue-directives.json index 46b85b63e..3962a3b5a 100644 --- a/extensions/vscode-vue-language-features/syntaxes/vue-directives.json +++ b/extensions/vscode-vue-language-features/syntaxes/vue-directives.json @@ -1,6 +1,6 @@ { "fileTypes": [], - "injectionSelector": "L:meta.tag.metadata, L:meta.tag.structure, L:meta.tag.inline, L:meta.tag.object, L:meta.tag.other, L:meta.tag.custom, L:meta.element.structure.svg", + "injectionSelector": "L:meta.tag.metadata, L:meta.tag.structure, L:meta.tag.inline, L:meta.tag.object, L:meta.tag.other, L:meta.tag.custom, L:meta.element.structure.svg -comment.block", "patterns": [ { "include": "source.vue#vue-directives"