Add highlighting for coffeescript string interpolation. Fixes #29108

This commit is contained in:
Matt Bierner 2017-06-20 16:43:19 -07:00
parent 4f372d0b25
commit 6eab963cc4
4 changed files with 16 additions and 7 deletions

View file

@ -246,7 +246,8 @@
"punctuation.definition.template-expression.begin.js",
"punctuation.definition.template-expression.begin.ts",
"punctuation.definition.template-expression.end.ts",
"punctuation.definition.template-expression.end.js"
"punctuation.definition.template-expression.end.js",
"punctuation.section.embedded.coffee"
],
"settings": {
"foreground": "#569cd6"
@ -258,7 +259,8 @@
"support.type.property-name",
"variable.css",
"variable.scss",
"variable.other.less"
"variable.other.less",
"source.coffee.embedded"
],
"settings": {
"foreground": "#9cdcfe"

View file

@ -233,7 +233,8 @@
"punctuation.definition.template-expression.begin.js",
"punctuation.definition.template-expression.begin.ts",
"punctuation.definition.template-expression.end.ts",
"punctuation.definition.template-expression.end.js"
"punctuation.definition.template-expression.end.js",
"punctuation.section.embedded.coffee"
],
"settings": {
"foreground": "#569cd6"
@ -245,7 +246,8 @@
"support.type.property-name",
"variable.css",
"variable.scss",
"variable.other.less"
"variable.other.less",
"source.coffee.embedded"
],
"settings": {
"foreground": "#d4d4d4"

View file

@ -242,7 +242,8 @@
"punctuation.definition.template-expression.begin.js",
"punctuation.definition.template-expression.begin.ts",
"punctuation.definition.template-expression.end.ts",
"punctuation.definition.template-expression.end.js"
"punctuation.definition.template-expression.end.js",
"punctuation.section.embedded.coffee"
],
"settings": {
"foreground": "#0000ff"
@ -268,7 +269,8 @@
"support.type.property-name",
"variable.css",
"variable.scss",
"variable.other.less"
"variable.other.less",
"source.coffee.embedded"
],
"settings": {
"foreground": "#ff0000"

View file

@ -112,7 +112,10 @@
},
{
"name": "Template Definition",
"scope": "punctuation.definition.template-expression",
"scope": [
"punctuation.definition.template-expression",
"punctuation.section.embedded.coffee"
],
"settings": {
"foreground": "#F92672"
}