Skip to content

Commit bba374c

Browse files
committed
Colorize python placeholders in strings
1 parent 02350be commit bba374c

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

extensions/theme-defaults/themes/dark_vs.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,12 @@
248248
}
249249
},
250250
{
251-
"name": "JavaScript string interpolation ${}",
251+
"name": "String interpolation",
252252
"scope": [
253253
"punctuation.definition.template-expression.begin",
254254
"punctuation.definition.template-expression.end",
255-
"punctuation.section.embedded"
255+
"punctuation.section.embedded",
256+
"constant.character.format.placeholder"
256257
],
257258
"settings": {
258259
"foreground": "#569cd6"

extensions/theme-defaults/themes/hc_black_defaults.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,12 @@
237237
}
238238
},
239239
{
240-
"name": "JavaScript string interpolation ${}",
240+
"name": "String interpolation",
241241
"scope": [
242242
"punctuation.definition.template-expression.begin",
243243
"punctuation.definition.template-expression.end",
244-
"punctuation.section.embedded"
244+
"punctuation.section.embedded",
245+
"constant.character.format.placeholder"
245246
],
246247
"settings": {
247248
"foreground": "#569cd6"

extensions/theme-defaults/themes/light_vs.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,12 @@
244244
}
245245
},
246246
{
247-
"name": "JavaScript string interpolation ${}",
247+
"name": "String interpolation",
248248
"scope": [
249249
"punctuation.definition.template-expression.begin",
250250
"punctuation.definition.template-expression.end",
251-
"punctuation.section.embedded"
251+
"punctuation.section.embedded",
252+
"constant.character.format.placeholder"
252253
],
253254
"settings": {
254255
"foreground": "#0000ff"

extensions/theme-red/themes/Red-color-theme.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,12 @@
387387
}
388388
},
389389
{
390-
"name": "String interpolation ${}",
390+
"name": "String interpolation",
391391
"scope": [
392392
"punctuation.definition.template-expression.begin",
393393
"punctuation.definition.template-expression.end",
394-
"punctuation.section.embedded"
394+
"punctuation.section.embedded",
395+
"constant.character.format.placeholder"
395396
],
396397
"settings": {
397398
"foreground": "#ec0d1e"

0 commit comments

Comments
 (0)