summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index e8a7f71e..aca54118 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -782,7 +782,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (setq css-indent-offset 2)))
 
 (use-package web-mode
-  :mode (("\\.tsx\\'" . web-mode))
+  :mode (("\\.tsx\\'" . web-mode)
+         ("\\.html?\\'" . web-mode))
   :config (setq web-mode-enable-auto-pairing nil
                 web-mode-code-indent-offset 2
                 web-mode-markup-indent-offset 2