summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el5
1 files 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))