feat(web): make web-mode recognize *.[lh]eex
This commit is contained in:
parent
ca8892ee2e
commit
0ad7874a28
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
||||||
(delq! nil web-mode-engines-auto-pairs))
|
(delq! nil web-mode-engines-auto-pairs))
|
||||||
|
|
||||||
(add-to-list 'web-mode-engines-alist '("elixir" . "\\.eex\\'"))
|
(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
|
;; Use // instead of /* as the default comment delimited in JS
|
||||||
(setf (alist-get "javascript" web-mode-comment-formats nil nil #'equal)
|
(setf (alist-get "javascript" web-mode-comment-formats nil nil #'equal)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue