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