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

37 lines
1000 B
JSON
Raw Normal View History

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