From ae5d91eeeb26d3786842e6a67d42fad31bdc5488 Mon Sep 17 00:00:00 2001 From: RedCMD <33529441+RedCMD@users.noreply.github.com> Date: Sat, 12 Apr 2025 02:25:44 +1200 Subject: [PATCH] Fix template.expression brackets #190564 (#245786) --- extensions/javascript/package.json | 8 ++------ extensions/typescript-basics/package.json | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/extensions/javascript/package.json b/extensions/javascript/package.json index 0b6b1c3cf76..9a64d1585f0 100644 --- a/extensions/javascript/package.json +++ b/extensions/javascript/package.json @@ -69,9 +69,7 @@ "meta.embedded.expression.js": "javascriptreact" }, "tokenTypes": { - "meta.template.expression": "other", - "meta.template.expression string": "string", - "meta.template.expression comment": "comment", + "punctuation.definition.template-expression": "other", "entity.name.type.instance.jsdoc": "other", "entity.name.function.tagged-template": "other", "meta.import string.quoted": "other", @@ -89,9 +87,7 @@ "meta.embedded.expression.js": "javascript" }, "tokenTypes": { - "meta.template.expression": "other", - "meta.template.expression string": "string", - "meta.template.expression comment": "comment", + "punctuation.definition.template-expression": "other", "entity.name.type.instance.jsdoc": "other", "entity.name.function.tagged-template": "other", "meta.import string.quoted": "other", diff --git a/extensions/typescript-basics/package.json b/extensions/typescript-basics/package.json index d765f6116f8..d64e6df2147 100644 --- a/extensions/typescript-basics/package.json +++ b/extensions/typescript-basics/package.json @@ -75,9 +75,7 @@ "keyword.operator.assignment.compound.bitwise.ts" ], "tokenTypes": { - "meta.template.expression": "other", - "meta.template.expression string": "string", - "meta.template.expression comment": "comment", + "punctuation.definition.template-expression": "other", "entity.name.type.instance.jsdoc": "other", "entity.name.function.tagged-template": "other", "meta.import string.quoted": "other", @@ -102,9 +100,7 @@ "meta.embedded.expression.tsx": "typescriptreact" }, "tokenTypes": { - "meta.template.expression": "other", - "meta.template.expression string": "string", - "meta.template.expression comment": "comment", + "punctuation.definition.template-expression": "other", "entity.name.type.instance.jsdoc": "other", "entity.name.function.tagged-template": "other", "meta.import string.quoted": "other",