Files
sandwich-hime-tooling/editors/vscode/syntaxes/sando.tmLanguage.json
T
gamertan 6df87bc958 feat: publish Sandwich Hime tooling preview
Publish the exact sanitized Agent Skill and VS Code preview source tree with independent license boundaries, deterministic provenance manifests, and no private development history. Material design and implementation assistance was provided by OpenAI Codex.

Signed-off-by: Cole Speelman <crspeelman@gmail.com>
2026-08-12 20:33:51 -04:00

62 lines
2.3 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "Sando",
"scopeName": "text.html.sando",
"patterns": [
{"include": "#sando-header"},
{"include": "#sando-comment"},
{"include": "#sando-component"},
{"include": "#sando-expression"},
{"include": "#sando-statement"},
{"include": "text.html.basic"}
],
"repository": {
"sando-header": {
"name": "meta.embedded.block.sando.header",
"begin": "(<\\?sando)(\\s+)(go)\\b",
"beginCaptures": {
"1": {"name": "punctuation.section.embedded.begin.sando"},
"3": {"name": "support.constant.language.sando"}
},
"end": "\\?>",
"endCaptures": {"0": {"name": "punctuation.section.embedded.end.sando"}},
"contentName": "source.go",
"patterns": [{"include": "source.go"}]
},
"sando-comment": {
"name": "comment.block.sando",
"begin": "<\\?#",
"beginCaptures": {"0": {"name": "punctuation.definition.comment.begin.sando"}},
"end": "\\?>",
"endCaptures": {"0": {"name": "punctuation.definition.comment.end.sando"}}
},
"sando-component": {
"name": "meta.embedded.block.sando.component",
"begin": "<\\?~",
"beginCaptures": {"0": {"name": "punctuation.section.embedded.begin.sando component.composition.sando"}},
"end": "\\?>",
"endCaptures": {"0": {"name": "punctuation.section.embedded.end.sando"}},
"contentName": "source.go",
"patterns": [{"include": "source.go"}]
},
"sando-expression": {
"name": "meta.embedded.block.sando.expression",
"begin": "<\\?=",
"beginCaptures": {"0": {"name": "punctuation.section.embedded.begin.sando expression.output.sando"}},
"end": "\\?>",
"endCaptures": {"0": {"name": "punctuation.section.embedded.end.sando"}},
"contentName": "source.go",
"patterns": [{"include": "source.go"}]
},
"sando-statement": {
"name": "meta.embedded.block.sando.statement",
"begin": "<\\?(?!sando\\b|[~=#])",
"beginCaptures": {"0": {"name": "punctuation.section.embedded.begin.sando"}},
"end": "\\?>",
"endCaptures": {"0": {"name": "punctuation.section.embedded.end.sando"}},
"contentName": "source.go",
"patterns": [{"include": "source.go"}]
}
}
}