Something went wrong. Try again.
A fork of helix with a bespoke collection patches.
Something went wrong. Try again.
add tree-sitter-embedded-template (erb & ejs) (#2055) master
After the incremental parsing rewrite for injections (which was released in 22.03 https://helix-editor.com/news/release-22-03-highlights/#incremental-injection-parsing-rewrite), we can now do combined injections which lets us pull in some templating grammars. The most notable of those is embedded-template - a pretty straightforward grammar that covers ERB and EJS. The grammar and highlights queries are shared between the two but they have different injections.
Author Michael Davis Committer GitHub Date (Apr 9, 2022, 11:23 PM UTC) Commit 494306ad 494306ad7ae8ffb45d4d7d906528b64812eee3a5 Parent 78b16009 78b16009433041059597cc6ccea28c17254483b7