{
"scopeName": "es6.inline.html",
"fileTypes": ["js"],
"injectionSelector": "L:source.js -comment -string",
"injections": {
"L:source": {
"patterns": [
{
"match": "<",
"name": "invalid.illegal.bad-angle-bracket.html"
}
]
}
},
"patterns": [
{
"contentName": "meta.embedded.block.html",
"begin": "(?i)(\\s*html)(`)",
"beginCaptures": {
"0": {
"name": "string.template.js, punctuation.definition.string.template.begin.js"
},
"1": {
"name": "entity.name.function.tagged-template.js"
}
},
"end": "(`)",
"endCaptures": {
"0": {
"name": "string.template.js, punctuation.definition.string.template.end.js"
}
},
"patterns": [
{
"include": "source.js#template-substitution-element"
},
{
"include": "text.html.basic"
}
]
},
{
"include": "source.js#template-substitution-element"
}
]
}