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

37 lines
869 B
JSON
Raw Permalink Normal View History

2023-03-03 12:07:45 +08:00
{
2023-06-06 15:26:41 +08:00
"scopeName": "es6.inline.css",
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*css)(`)",
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
},
{
2023-03-03 18:15:41 +08:00
"include": "source.css.scss"
2023-03-03 12:07:45 +08:00
}
]
},
{
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 15:26:41 +08:00
]
2023-03-03 17:17:11 +08:00
}