Skip to content

Commit 74fde6b

Browse files
author
Matt Bierner
committed
Fix template expression coloration not being reset in tsx files
Fixes microsoft#32773
1 parent 59d5ce9 commit 74fde6b

3 files changed

Lines changed: 9 additions & 19 deletions

File tree

extensions/theme-defaults/themes/dark_vs.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,8 @@
243243
{
244244
"name": "JavaScript string interpolation ${}",
245245
"scope": [
246-
"punctuation.definition.template-expression.begin.js",
247-
"punctuation.definition.template-expression.begin.ts",
248-
"punctuation.definition.template-expression.end.ts",
249-
"punctuation.definition.template-expression.end.js",
246+
"punctuation.definition.template-expression.begin",
247+
"punctuation.definition.template-expression.end",
250248
"punctuation.section.embedded.coffee"
251249
],
252250
"settings": {
@@ -256,8 +254,7 @@
256254
{
257255
"name": "Reset JavaScript string interpolation expression",
258256
"scope": [
259-
"meta.template.expression.js",
260-
"meta.template.expression.ts"
257+
"meta.template.expression"
261258
],
262259
"settings": {
263260
"foreground": "#d4d4d4"

extensions/theme-defaults/themes/hc_black_defaults.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"foreground": "#000080"
3333
}
3434
},
35-
3635
{
3736
"scope": "comment",
3837
"settings": {
@@ -230,10 +229,8 @@
230229
{
231230
"name": "JavaScript string interpolation ${}",
232231
"scope": [
233-
"punctuation.definition.template-expression.begin.js",
234-
"punctuation.definition.template-expression.begin.ts",
235-
"punctuation.definition.template-expression.end.ts",
236-
"punctuation.definition.template-expression.end.js",
232+
"punctuation.definition.template-expression.begin",
233+
"punctuation.definition.template-expression.end",
237234
"punctuation.section.embedded.coffee"
238235
],
239236
"settings": {
@@ -243,8 +240,7 @@
243240
{
244241
"name": "Reset JavaScript string interpolation expression",
245242
"scope": [
246-
"meta.template.expression.js",
247-
"meta.template.expression.ts"
243+
"meta.template.expression"
248244
],
249245
"settings": {
250246
"foreground": "#ffffff"

extensions/theme-defaults/themes/light_vs.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,8 @@
239239
{
240240
"name": "JavaScript string interpolation ${}",
241241
"scope": [
242-
"punctuation.definition.template-expression.begin.js",
243-
"punctuation.definition.template-expression.begin.ts",
244-
"punctuation.definition.template-expression.end.ts",
245-
"punctuation.definition.template-expression.end.js",
242+
"punctuation.definition.template-expression.begin",
243+
"punctuation.definition.template-expression.end",
246244
"punctuation.section.embedded.coffee"
247245
],
248246
"settings": {
@@ -252,8 +250,7 @@
252250
{
253251
"name": "Reset JavaScript string interpolation expression",
254252
"scope": [
255-
"meta.template.expression.js",
256-
"meta.template.expression.ts"
253+
"meta.template.expression"
257254
],
258255
"settings": {
259256
"foreground": "#000000"

0 commit comments

Comments
 (0)