all repos — archive/dotfiles @ 3b77cea165c47d617035c3fb622aaa9cfcc3bcaa

Superseded by nixfiles

Emacs: setup jinja2-mode
Alan Pearce alan@alanpearce.co.uk
Sat, 22 Jun 2013 09:05:40 +0100
commit

3b77cea165c47d617035c3fb622aaa9cfcc3bcaa

parent

904e18d318ce25bc5a7ab589bd64fa42c404d68c

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -1077,6 +1077,10 @@ :mode (("\\.mustache" . mustache-mode)          ("\\.mt\\'" . mustache-mode)
          ("\\.template\\'" . mustache-mode)))
 
+(use-package jinja2-mode
+  :ensure t
+  :mode (("\\.j2\\'" . jinja2-mode)))
+
 (use-package nxhtml-mode
   :defer t
   :if (eq env/system-type 'laptop)