Commit Graph

2 Commits (aef37d43d7a943fdf58ade7df4d8defbef9a7ce0)

Author SHA1 Message Date
Clay ec85fb9ab6
Improve HEEx comment highlights, inject comment lang (#3170) 2 years ago
Michael Davis 4836bb38d3 add tree-sitter-heex
HEEx is a templating engine on top of Elixir's EEx templating
language specific to HTML that is included in Phoenix.LiveView
(though I think the plan is to eventually include it in base
Phoenix). It's a superset of EEx with some additional features
like components and slots.

The injections don't work perfectly because the Elixir grammar is
newline sensitive (the _terminator rule). See
https://github.com/elixir-lang/tree-sitter-elixir/issues/24
for more information.
3 years ago