Colorize python placeholders in strings

This commit is contained in:
Matt Bierner 2017-09-12 18:58:53 -07:00
parent 02350be480
commit bba374c79b
4 changed files with 12 additions and 8 deletions

View file

@ -248,11 +248,12 @@
}
},
{
"name": "JavaScript string interpolation ${}",
"name": "String interpolation",
"scope": [
"punctuation.definition.template-expression.begin",
"punctuation.definition.template-expression.end",
"punctuation.section.embedded"
"punctuation.section.embedded",
"constant.character.format.placeholder"
],
"settings": {
"foreground": "#569cd6"

View file

@ -237,11 +237,12 @@
}
},
{
"name": "JavaScript string interpolation ${}",
"name": "String interpolation",
"scope": [
"punctuation.definition.template-expression.begin",
"punctuation.definition.template-expression.end",
"punctuation.section.embedded"
"punctuation.section.embedded",
"constant.character.format.placeholder"
],
"settings": {
"foreground": "#569cd6"

View file

@ -244,11 +244,12 @@
}
},
{
"name": "JavaScript string interpolation ${}",
"name": "String interpolation",
"scope": [
"punctuation.definition.template-expression.begin",
"punctuation.definition.template-expression.end",
"punctuation.section.embedded"
"punctuation.section.embedded",
"constant.character.format.placeholder"
],
"settings": {
"foreground": "#0000ff"

View file

@ -387,11 +387,12 @@
}
},
{
"name": "String interpolation ${}",
"name": "String interpolation",
"scope": [
"punctuation.definition.template-expression.begin",
"punctuation.definition.template-expression.end",
"punctuation.section.embedded"
"punctuation.section.embedded",
"constant.character.format.placeholder"
],
"settings": {
"foreground": "#ec0d1e"