all repos — archive/dotfiles @ 7f9658c3a1d698bb69c7683dbfcebbcde3f89717

Superseded by nixfiles

Emacs: Open .jinja files in jinja2-mode
Alan Pearce alan@alanpearce.co.uk
Fri, 08 Aug 2014 13:32:48 +0100
commit

7f9658c3a1d698bb69c7683dbfcebbcde3f89717

parent

d670075375f7bee13b6a8e7b0fe601ef8eed9f86

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1221,7 +1221,8 @@ :config (progn             (setq scss-compile-at-save nil)))
 
 (req-package jinja2-mode
-  :mode (("\\.j2\\'" . jinja2-mode)))
+  :mode (("\\.j2\\'" . jinja2-mode)
+         ("\\.jinja\\'" . jinja2-mode)))
 
 (req-package php-mode
   :mode ("\\.php\\'" . php-mode)