🎉 initiate project *astro_rewrite*

This commit is contained in:
sindrekjelsrud 2023-07-19 21:31:30 +02:00
parent ffd4d5e86c
commit 2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions

View file

@ -0,0 +1,98 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "glimmer-js",
"scopeName": "source.gjs",
"patterns": [
{
"include": "source.js"
}
],
"injections": {
"L:source.gjs -comment": {
"patterns": [
{
"name": "meta.js.embeddedTemplateWithoutArgs",
"begin": "\\s*(<)(template)\\s*(>)",
"beginCaptures": {
"1": {
"name": "punctuation.definition.tag.html"
},
"2": {
"name": "entity.name.tag.other.html"
},
"3": {
"name": "punctuation.definition.tag.html"
}
},
"end": "(</)(template)(>)",
"endCaptures": {
"1": {
"name": "punctuation.definition.tag.html"
},
"2": {
"name": "entity.name.tag.other.html"
},
"3": {
"name": "punctuation.definition.tag.html"
}
},
"patterns": [
{
"include": "text.html.handlebars"
}
]
},
{
"name": "meta.js.embeddedTemplateWithArgs",
"begin": "(<)(template)",
"beginCaptures": {
"1": {
"name": "punctuation.definition.tag.html"
},
"2": {
"name": "entity.name.tag.other.html"
}
},
"end": "(</)(template)(>)",
"endCaptures": {
"1": {
"name": "punctuation.definition.tag.html"
},
"2": {
"name": "entity.name.tag.other.html"
},
"3": {
"name": "punctuation.definition.tag.html"
}
},
"patterns": [
{
"begin": "(?<=\\<template)",
"end": "(?=\\>)",
"patterns": [
{
"include": "text.html.handlebars#tag-stuff"
}
]
},
{
"begin": "(>)",
"beginCaptures": {
"1": {
"name": "punctuation.definition.tag.end.js"
}
},
"end": "(?=</template>)",
"contentName": "meta.html.embedded.block",
"patterns": [
{
"include": "text.html.handlebars"
}
]
}
]
}
]
}
}
}