diff options
author | Alan Pearce | 2023-06-01 14:59:38 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-01 14:59:38 +0200 |
commit | d107462b3c666b783e066a8e97923b55c556a0c5 (patch) | |
tree | 8fbb6fb261f12d23bec18897c8f6ccdd41695937 /user | |
parent | bf039db301a6e88d4e8ccfca0fc3046ac7d1aa0e (diff) | |
download | nixfiles-d107462b3c666b783e066a8e97923b55c556a0c5.tar.lz nixfiles-d107462b3c666b783e066a8e97923b55c556a0c5.tar.zst nixfiles-d107462b3c666b783e066a8e97923b55c556a0c5.zip |
Emacs: open html.erb files with web-mode
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 50d93d2b..63e98bd9 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -876,7 +876,8 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (setq css-indent-offset 2))) (use-package web-mode - :mode (("\\.html?\\'" . web-mode)) + :mode (("\\.html?\\'" . web-mode) + ("\\.html?.erb\\'" . web-mode)) :config (setq web-mode-enable-auto-pairing nil web-mode-code-indent-offset 2 web-mode-markup-indent-offset 2 |