alpha
Login
or
Join now
paul.landazuri.fr
/
polytmpl
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A polyglot Go-template language toolkit (syntax highlighting, diagnostics, and completion) for Go templates embedded in any base language.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
polytmpl
/
zed
/
languages
/
html-template
/
at
main
3 files
Paul Landázuri
feat(zed): add per-flavour highlights for inverted injection
3mo ago
dc213689
config.toml
feat(zed): add per-flavour highlights for inverted injection Zed loads tree-sitter queries per language, not per grammar. With yaml-template, json-template, and html-template all sharing the gotmpl grammar but with their own injections.scm, each language also needs its own highlights.scm to colour gotmpl actions inside their files. Duplicate the gotmpl highlight rules into each per-flavour directory with a header note flagging the sync requirement. Same pattern as cabrinha/helm.zed. Also bump zed/extension.toml's grammar SHA to the previous head, which ships the unchanged tree-sitter-gotmpl/ subtree.
3 months ago
highlights.scm
feat(zed): add per-flavour highlights for inverted injection Zed loads tree-sitter queries per language, not per grammar. With yaml-template, json-template, and html-template all sharing the gotmpl grammar but with their own injections.scm, each language also needs its own highlights.scm to colour gotmpl actions inside their files. Duplicate the gotmpl highlight rules into each per-flavour directory with a header note flagging the sync requirement. Same pattern as cabrinha/helm.zed. Also bump zed/extension.toml's grammar SHA to the previous head, which ships the unchanged tree-sitter-gotmpl/ subtree.
3 months ago
injections.scm
feat(tree-sitter-gotmpl): invert injection approach
3 months ago