summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-06-22 09:05:40 +0100
committerAlan Pearce2013-06-22 09:05:40 +0100
commit3b77cea165c47d617035c3fb622aaa9cfcc3bcaa (patch)
treeb2ad0eefb527fca1874c1646297d23c321dab5d0 /emacs
parent904e18d318ce25bc5a7ab589bd64fa42c404d68c (diff)
downloaddotfiles-3b77cea165c47d617035c3fb622aaa9cfcc3bcaa.tar.lz
dotfiles-3b77cea165c47d617035c3fb622aaa9cfcc3bcaa.tar.zst
dotfiles-3b77cea165c47d617035c3fb622aaa9cfcc3bcaa.zip
Emacs: setup jinja2-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 5f323a6..b9b29e1 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -1077,6 +1077,10 @@ Works with: arglist-cont-nonempty, arglist-close."
          ("\\.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)