vscode-string-html/syntaxes/es6.inline.scss.json

37 lines
871 B
JSON

{
"scopeName": "es6.inline.scss",
"fileTypes": ["js"],
"injectionSelector": "L:source.js -comment -string",
"patterns": [
{
"contentName": "meta.embedded.block.css",
"begin": "(?i)(\\s*scss)(`)",
"beginCaptures": {
"0": {
"name": "string.template.js, punctuation.definition.string.template.begin.js"
},
"1": {
"name": "entity.name.function.tagged-template.js"
}
},
"end": "(`)",
"endCaptures": {
"0": {
"name": "string.template.js, punctuation.definition.string.template.end.js"
}
},
"patterns": [
{
"include": "source.js#template-substitution-element"
},
{
"include": "source.css.scss"
}
]
},
{
"include": "source.js#template-substitution-element"
}
]
}
TypeScript 96.4%
JavaScript 3.6%