summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el3
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