Emacs: use web-mode for html
Alan Pearce alan@alanpearce.eu
Sat, 11 Jan 2020 20:43:26 +0100
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M user/emacs/.emacs.d/init.el → user/emacs/.emacs.d/init.el
@@ -782,7 +782,8 @@ :config (progn (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