mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 11:23:10 +03:00
9d095e0fdc
EEx is an templating language for Elixir. Since the incremental parsing refactor we can used combined injections which allows us to add EEx support.
7 lines
280 B
Scheme
7 lines
280 B
Scheme
; https://github.com/connorlay/tree-sitter-eex/blob/f742f2fe327463335e8671a87c0b9b396905d1d1/queries/highlights.scm
|
|
|
|
; wrapping in (directive .. ) prevents us from highlighting '%>' in a comment as a keyword
|
|
(directive ["<%" "<%=" "<%%" "<%%=" "%>"] @keyword)
|
|
|
|
(comment) @comment
|