branch: elpa/web-mode
commit 120908ca550b2da5bd4e91376e860e841adc7f27
Author: Wilhelm Hugo Kirschbaum <wkirschb...@gmail.com>
Commit: Wilhelm Hugo Kirschbaum <wkirschb...@gmail.com>

    Allow .heex templates for Elixir
    
    .heex templates introduced into Phoenix LiveView 0.16
    
    https://hexdocs.pm/phoenix_live_view/assigns-eex.html#content
---
 web-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web-mode.el b/web-mode.el
index b384f97..b66beee 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -970,7 +970,7 @@ Must be used in conjunction with 
web-mode-enable-block-face."
     ("ctemplate"        . "\\.\\(chtml\\|mustache\\)\\'")
     ("django"           . 
"\\.\\(djhtml\\|tmpl\\|dtl\\|liquid\\|j2\\|njk\\)\\'")
     ("dust"             . "\\.dust\\'")
-    ("elixir"           . "\\.l?eex\\'")
+    ("elixir"           . "\\.[hl]?eex\\'")
     ("ejs"              . "\\.ejs\\'")
     ("erb"              . "\\.\\(erb\\|rhtml\\|erb\\.html\\)\\'")
     ("expressionengine" . "\\.ee\\'")

Reply via email to