From 079cbacdd9e81e87e36a14c5c2d2fadc433da732 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Tue, 2 Apr 2013 17:11:25 +0200 Subject: [PATCH] emacs: setting the html-mode for templates --- .emacs.d/modes.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.emacs.d/modes.el b/.emacs.d/modes.el index 5e9d6ea..64f5225 100644 --- a/.emacs.d/modes.el +++ b/.emacs.d/modes.el @@ -20,3 +20,7 @@ ;; JSON (setq auto-mode-alist (cons '("\.json$" . js-mode) auto-mode-alist)) + +;; HTML +(setq auto-mode-alist (cons '("\.template$" . html-mode) auto-mode-alist)) +(setq auto-mode-alist (cons '("\.tpl$" . html-mode) auto-mode-alist))