summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-04-19 10:42:32 +0200
committerAlan Pearce2024-04-19 10:43:19 +0200
commitc281cebf16625528fd5cc82898d5e39069c5c4ab (patch)
treeb237ff38e155a6a2c6bd9f92de44f2326ee44b44 /user
parent3dfb1bffda71447914e9570e811949caf2785e73 (diff)
downloadnixfiles-c281cebf16625528fd5cc82898d5e39069c5c4ab.tar.lz
nixfiles-c281cebf16625528fd5cc82898d5e39069c5c4ab.tar.zst
nixfiles-c281cebf16625528fd5cc82898d5e39069c5c4ab.zip
emacs: don't always open HTML files in web-mode
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index a113407f..e0678626 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -875,8 +875,7 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 (add-to-list 'major-mode-remap-alist '(css-mode . css-ts-mode))
 
 (use-package web-mode
-  :mode (("\\.html?\\'" . web-mode)
-         ("\\.html?.erb\\'" . web-mode))
+  :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