From 2d0f5bf60f72f70296dc55d26b8acb22ebd83f28 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 Jan 2020 20:43:26 +0100 Subject: Emacs: use web-mode for html --- user/emacs/.emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'user/emacs') 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 -- cgit 1.4.1