Files
owl/tools/owl-vision/syntaxes/owl.template.inline.json
T

40 lines
1.1 KiB
JSON
Raw Normal View History

{
"injectionSelector": "L:source.js -comment -(string -meta.embedded)",
"scopeName": "owl.template.inline",
"patterns": [
{
"include": "#xml-tag"
}
],
"repository": {
"xml-tag": {
"begin": "\\s+(xml)(`)",
"contentName": "meta.embedded.block.xml",
"beginCaptures": {
"1": {
"name": "entity.name.function.tagged-template.js"
},
"2": {
"name": "punctuation.definition.string.template.begin.js"
}
},
"end": "(`)",
"endCaptures": {
"0": {
"name": "string.js"
},
"1": {
"name": "punctuation.definition.string.template.end.js"
}
},
"patterns": [
{
"include": "owl.template"
},
{
"include": "text.xml"
}
]
}
}
}