diff --git a/extensions/vscode/syntaxes/vue.tmLanguage.json b/extensions/vscode/syntaxes/vue.tmLanguage.json index 7171625de0..c7ed60e3e2 100644 --- a/extensions/vscode/syntaxes/vue.tmLanguage.json +++ b/extensions/vscode/syntaxes/vue.tmLanguage.json @@ -1071,7 +1071,7 @@ "name": "source.ts.embedded.html.vue", "patterns": [ { - "include": "source.ts" + "include": "source.ts#expression" } ] } @@ -1092,7 +1092,7 @@ "name": "source.ts.embedded.html.vue", "patterns": [ { - "include": "source.ts" + "include": "source.ts#expression" } ] } @@ -1257,7 +1257,7 @@ "name": "source.ts.embedded.html.vue", "patterns": [ { - "include": "source.ts" + "include": "source.ts#expression" } ] } diff --git a/test-workspace/language-service/syntax/directives.vue b/test-workspace/language-service/syntax/directives.vue index 05cbd0b298..d6408879e1 100644 --- a/test-workspace/language-service/syntax/directives.vue +++ b/test-workspace/language-service/syntax/directives.vue @@ -1,6 +1,7 @@