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

tree-sitter-hygen-template

Hygen Template grammar for tree-sitter

2 releases

new 0.2.3 Oct 11, 2024
0.2.2 Oct 7, 2024

#147 in Parser tooling

Download history 156/week @ 2024-10-02 211/week @ 2024-10-09

367 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

~225KB