emacs: don't always open HTML files in web-mode
Alan Pearce alan@alanpearce.eu
Fri, 19 Apr 2024 10:42:32 +0200
1 files changed, 1 insertions(+), 2 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -875,8 +875,7 @@ (setq css-indent-offset 2))) (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