diff options
author | Alan Pearce | 2020-01-11 20:43:26 +0100 |
---|---|---|
committer | Alan Pearce | 2020-01-11 21:29:43 +0100 |
commit | 2d0f5bf60f72f70296dc55d26b8acb22ebd83f28 (patch) | |
tree | 671e6b87cf88a2a78dde21c421712887d87b4b3c /user | |
parent | a89da63bb0173969e58ae54253606dace4a8a3b0 (diff) | |
download | nixfiles-2d0f5bf60f72f70296dc55d26b8acb22ebd83f28.tar.lz nixfiles-2d0f5bf60f72f70296dc55d26b8acb22ebd83f28.tar.zst nixfiles-2d0f5bf60f72f70296dc55d26b8acb22ebd83f28.zip |
Emacs: use web-mode for html
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/.emacs.d/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 |