#tree-sitter #incremental #parser #hygen-template

tree-sitter-hygen-template

Hygen Template grammar for tree-sitter

2 releases

0.2.3 Oct 11, 2024
0.2.2 Oct 7, 2024

#266 in Parser tooling

39 downloads per month

MIT license

55KB
1.5K SLoC

C 1.5K SLoC Rust 29 SLoC // 0.2% comments Scheme 28 SLoC JavaScript 25 SLoC // 0.3% comments

tree-sitter-hygen-template

CI discord matrix crates npm pypi

Tree-sitter grammar for Hygen templates.

It extends the tree-sitter-embedded-template grammar.

Usage in Editors

Neovim

  • hygen.nvim: plugin that integrates this grammar to your Neovim configuration.

Dynamic Injections

Thanks to content node of tree-sitter-embedded-template grammar, dynamic Injections can be attached to template body.

Check out the following implementations:

hygen.nvim

References

Dependencies

~2–285KB