tm-grammars
Version:
Collecton of TextMate grammars in JSON
53 lines (52 loc) • 1.23 kB
JSON
{
"fileTypes": [
],
"injectTo": [
"source.vue"
],
"injectionSelector": "L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment",
"name": "vue-sfc-style-variable-injection",
"patterns": [
{
"include": "#vue-sfc-style-variable-injection"
}
],
"repository": {
"vue-sfc-style-variable-injection": {
"begin": "\\b(v-bind)\\s*\\(",
"beginCaptures": {
"1": {
"name": "entity.name.function"
}
},
"end": "\\)",
"name": "vue.sfc.style.variable.injection.v-bind",
"patterns": [
{
"begin": "('|\")",
"beginCaptures": {
"1": {
"name": "punctuation.definition.tag.begin.html"
}
},
"end": "(\\1)",
"endCaptures": {
"1": {
"name": "punctuation.definition.tag.end.html"
}
},
"name": "source.ts.embedded.html.vue",
"patterns": [
{
"include": "source.js"
}
]
},
{
"include": "source.js"
}
]
}
},
"scopeName": "vue.sfc.style.variable.injection"
}