mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(web): make web-mode recognize *.[lh]eex
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user