emacs: setting the html-mode for templates

This commit is contained in:
Rodolphe Breard 2013-04-02 17:11:25 +02:00
parent bbb669db5a
commit 079cbacdd9

View file

@ -20,3 +20,7 @@
;; JSON ;; JSON
(setq auto-mode-alist (cons '("\.json$" . js-mode) auto-mode-alist)) (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))