summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-08-08 13:32:48 +0100
committerAlan Pearce2014-08-08 13:32:48 +0100
commit7f9658c3a1d698bb69c7683dbfcebbcde3f89717 (patch)
treeb54db632d2ce29660c647f34c3db7b9a70d83ab2 /tag-emacs
parentd670075375f7bee13b6a8e7b0fe601ef8eed9f86 (diff)
downloadnixfiles-7f9658c3a1d698bb69c7683dbfcebbcde3f89717.tar.lz
nixfiles-7f9658c3a1d698bb69c7683dbfcebbcde3f89717.tar.zst
nixfiles-7f9658c3a1d698bb69c7683dbfcebbcde3f89717.zip
Emacs: Open .jinja files in jinja2-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index f0872786..2f52c09c 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1221,7 +1221,8 @@ mouse-1: Display Line and Column Mode Menu"))))))
             (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)