From 0ad7874a28db1a7d002322b665997401b8b06a38 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 16 Sep 2021 00:29:21 +0200 Subject: [PATCH] feat(web): make web-mode recognize *.[lh]eex --- modules/lang/web/+html.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lang/web/+html.el b/modules/lang/web/+html.el index 0a396a7cd..db6124c3a 100644 --- a/modules/lang/web/+html.el +++ b/modules/lang/web/+html.el @@ -66,6 +66,7 @@ (delq! nil web-mode-engines-auto-pairs)) (add-to-list 'web-mode-engines-alist '("elixir" . "\\.eex\\'")) + (add-to-list 'web-mode-engines-alist '("phoenix" . "\\.[lh]eex\\'")) ;; Use // instead of /* as the default comment delimited in JS (setf (alist-get "javascript" web-mode-comment-formats nil nil #'equal)