sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
49.86k stars 1.26k forks source link

Elixir (Phoenix) HEEx (successor to LEEx) syntax request #2020

Open wodow opened 2 years ago

wodow commented 2 years ago

Syntax: HEEx is a/the successor to the LEEx template language for HTML in Elixir Phoenix, released in 2021.

HEEx is already supported by the Sublime syntax definitions currently in use for Elixir -- https://github.com/princemaple/elixir-sublime-syntax/ -- so bumping its submodule would be sufficient, but is blocked by syntect not supporting extends, as per PR 1965.

Re tests: it appears that the bat's syntax tests don't cover LEEx (or EEx) currently and elixir-sublime-syntax has its own.

wodow commented 7 months ago

Per the now-closed PR 1965, the blocker is https://github.com/trishume/syntect/issues/323 , but the linked discussions from there suggest it is a non-trivial piece of work.