diff options
author | Alan Pearce | 2024-04-19 10:42:32 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-19 10:43:19 +0200 |
commit | c281cebf16625528fd5cc82898d5e39069c5c4ab (patch) | |
tree | b237ff38e155a6a2c6bd9f92de44f2326ee44b44 /user | |
parent | 3dfb1bffda71447914e9570e811949caf2785e73 (diff) | |
download | nixfiles-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.el | 3 |
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 |