diff --git a/dot-emacs-dot-d.org b/dot-emacs-dot-d.org index 23bccef..b73da99 100644 --- a/dot-emacs-dot-d.org +++ b/dot-emacs-dot-d.org @@ -304,7 +304,9 @@ Now, for some code. (add-to-list 'auto-mode-alist '("\\.js?\\'" . web-mode)) (add-to-list 'auto-mode-alist - '("\\.php?\\'" . web-mode)))) + '("\\.php?\\'" . web-mode)) + (add-to-list 'auto-mode-alist + '("\\.tmpl?\\'" . web-mode)))) #+END_SRC * Steal Java-editing features from Eclipse. diff --git a/init.el b/init.el index 9d4ac40..69ed63a 100644 --- a/init.el +++ b/init.el @@ -81,7 +81,9 @@ (add-to-list 'auto-mode-alist '("\\.js?\\'" . web-mode)) (add-to-list 'auto-mode-alist - '("\\.php?\\'" . web-mode)))) + '("\\.php?\\'" . web-mode)) + (add-to-list 'auto-mode-alist + '("\\.tmpl?\\'" . web-mode)))) (quelpa 'emacs-eclim) (use-package eclim :config (global-eclim-mode))