From 192527370d8248daa14ba8cedcb0d7c4369c134a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 20 Jan 2021 17:22:10 +0100 Subject: Emacs: assume html files are django-like templates --- user/emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user/emacs/init.el b/user/emacs/init.el index 10b38484..3a0ad39a 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -815,7 +815,8 @@ _p_rev _u_pper _=_: upper/lower _r_esolve web-mode-markup-indent-offset 2 web-mode-css-indent-offset 2 web-mode-style-padding 0 - web-mode-script-padding 0)) + web-mode-script-padding 0 + web-mode-engines-alist '((django . "\\.html?\\'")))) (use-package emmet-mode :ghook '(web-mode-hook sgml-mode-hook)) -- cgit 1.4.1