summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
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 5f323a6f..b9b29e16 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)