2023-03-03 12:07:45 +08:00
|
|
|
{
|
2023-06-06 15:26:41 +08:00
|
|
|
"scopeName": "es6.inline.scss",
|
2023-06-06 18:35:39 +08:00
|
|
|
"fileTypes": ["js"],
|
|
|
|
"injectionSelector": "L:source.js -comment -string",
|
2023-03-03 12:07:45 +08:00
|
|
|
"patterns": [
|
|
|
|
{
|
|
|
|
"contentName": "meta.embedded.block.css",
|
2023-06-06 18:35:39 +08:00
|
|
|
"begin": "(?i)(\\s*scss)(`)",
|
2023-03-03 12:07:45 +08:00
|
|
|
"beginCaptures": {
|
|
|
|
"0": {
|
2023-06-06 18:35:39 +08:00
|
|
|
"name": "string.template.js, punctuation.definition.string.template.begin.js"
|
2023-03-03 12:07:45 +08:00
|
|
|
},
|
|
|
|
"1": {
|
2023-06-06 18:35:39 +08:00
|
|
|
"name": "entity.name.function.tagged-template.js"
|
2023-03-03 12:07:45 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"end": "(`)",
|
|
|
|
"endCaptures": {
|
|
|
|
"0": {
|
2023-06-06 18:35:39 +08:00
|
|
|
"name": "string.template.js, punctuation.definition.string.template.end.js"
|
2023-03-03 12:07:45 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"patterns": [
|
|
|
|
{
|
2023-06-06 18:35:39 +08:00
|
|
|
"include": "source.js#template-substitution-element"
|
2023-03-03 12:07:45 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"include": "source.css.scss"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-06-06 18:35:39 +08:00
|
|
|
"include": "source.js#template-substitution-element"
|
2023-03-03 12:07:45 +08:00
|
|
|
}
|
2023-06-06 18:35:39 +08:00
|
|
|
]
|
2023-03-03 17:17:11 +08:00
|
|
|
}
|