Skip to content

Commit 2db37ea

Browse files
committed
Wrong highlighting for angle bracket syntax in embedded language. Fixes microsoft#14551
1 parent b74b36b commit 2db37ea

18 files changed

Lines changed: 3124 additions & 3108 deletions

File tree

extensions/handlebars/test/colorize-results/test_handlebars.json

Lines changed: 340 additions & 340 deletions
Large diffs are not rendered by default.

extensions/handlebars/test/colorize-results/test_hbs.json

Lines changed: 265 additions & 265 deletions
Large diffs are not rendered by default.

extensions/html/test/colorize-results/12750_html.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"c": "<",
44
"t": "definition.html.punctuation.tag",
55
"r": {
6-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
7-
"light_plus": ".vs .token rgb(0, 0, 0)",
8-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
9-
"light_vs": ".vs .token rgb(0, 0, 0)",
10-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
6+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
7+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
8+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
9+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
10+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
1111
}
1212
},
1313
{
@@ -91,11 +91,11 @@
9191
"c": ">",
9292
"t": "definition.embedded.html.js.punctuation.source.tag",
9393
"r": {
94-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.tag.js rgb(128, 128, 128)",
95-
"light_plus": ".vs .token rgb(0, 0, 0)",
96-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.tag.js rgb(128, 128, 128)",
97-
"light_vs": ".vs .token rgb(0, 0, 0)",
98-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
94+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
95+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
96+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
97+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
98+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
9999
}
100100
},
101101
{
@@ -212,11 +212,11 @@
212212
"c": "</",
213213
"t": "definition.embedded.html.js.punctuation.source.tag",
214214
"r": {
215-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.tag.js rgb(128, 128, 128)",
216-
"light_plus": ".vs .token rgb(0, 0, 0)",
217-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.tag.js rgb(128, 128, 128)",
218-
"light_vs": ".vs .token rgb(0, 0, 0)",
219-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
215+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
216+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
217+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
218+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
219+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
220220
}
221221
},
222222
{
@@ -234,22 +234,22 @@
234234
"c": ">",
235235
"t": "definition.html.punctuation.tag",
236236
"r": {
237-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
238-
"light_plus": ".vs .token rgb(0, 0, 0)",
239-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
240-
"light_vs": ".vs .token rgb(0, 0, 0)",
241-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
237+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
238+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
239+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
240+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
241+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
242242
}
243243
},
244244
{
245245
"c": "<",
246246
"t": "definition.html.punctuation.tag",
247247
"r": {
248-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
249-
"light_plus": ".vs .token rgb(0, 0, 0)",
250-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
251-
"light_vs": ".vs .token rgb(0, 0, 0)",
252-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
248+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
249+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
250+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
251+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
252+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
253253
}
254254
},
255255
{
@@ -267,11 +267,11 @@
267267
"c": ">",
268268
"t": "definition.embedded.html.js.punctuation.source.tag",
269269
"r": {
270-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.tag.js rgb(128, 128, 128)",
271-
"light_plus": ".vs .token rgb(0, 0, 0)",
272-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.tag.js rgb(128, 128, 128)",
273-
"light_vs": ".vs .token rgb(0, 0, 0)",
274-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
270+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
271+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
272+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
273+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
274+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
275275
}
276276
},
277277
{
@@ -388,11 +388,11 @@
388388
"c": "</",
389389
"t": "definition.embedded.html.js.punctuation.source.tag",
390390
"r": {
391-
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.tag.js rgb(128, 128, 128)",
392-
"light_plus": ".vs .token rgb(0, 0, 0)",
393-
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.tag.js rgb(128, 128, 128)",
394-
"light_vs": ".vs .token rgb(0, 0, 0)",
395-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
391+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
392+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
393+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
394+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
395+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
396396
}
397397
},
398398
{
@@ -410,11 +410,11 @@
410410
"c": ">",
411411
"t": "definition.html.punctuation.tag",
412412
"r": {
413-
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
414-
"light_plus": ".vs .token rgb(0, 0, 0)",
415-
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
416-
"light_vs": ".vs .token rgb(0, 0, 0)",
417-
"hc_black": ".hc-black .token rgb(255, 255, 255)"
413+
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.punctuation.definition.tag rgb(128, 128, 128)",
414+
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.punctuation.definition.tag rgb(128, 0, 0)",
415+
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.punctuation.definition.tag rgb(128, 128, 128)",
416+
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.punctuation.definition.tag rgb(128, 0, 0)",
417+
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.punctuation.definition.tag rgb(128, 128, 128)"
418418
}
419419
}
420420
]

0 commit comments

Comments
 (0)