From b6c803102401ac3125b39cd6d4ff72ba38f599de Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 3 May 2024 00:19:43 +0200 Subject: emacs: open tmpl files in web-mode --- user/emacs/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/user/emacs/init.el b/user/emacs/init.el index 8038298a..60417b95 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -850,11 +850,12 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve :defer t) (use-package web-mode - :mode (("\\.html?.erb\\'" . web-mode)) + :mode (("\\.html?.erb\\'" . web-mode) + ("\\.tmpl\\'" . web-mode)) :config (setq web-mode-enable-auto-pairing nil web-mode-style-padding 2 web-mode-script-padding 2 - web-mode-engines-alist '(("go" . "\\.html?\\'")))) + web-mode-engines-alist '(("go" . "\\.tmpl\\'")))) (use-package emmet-mode :ghook '(web-mode-hook sgml-mode-hook)) -- cgit 1.4.1