diff options
author | Alan Pearce | 2013-06-22 09:05:40 +0100 |
---|---|---|
committer | Alan Pearce | 2013-06-22 09:05:40 +0100 |
commit | 3b77cea165c47d617035c3fb622aaa9cfcc3bcaa (patch) | |
tree | b2ad0eefb527fca1874c1646297d23c321dab5d0 /emacs | |
parent | 904e18d318ce25bc5a7ab589bd64fa42c404d68c (diff) | |
download | nixfiles-3b77cea165c47d617035c3fb622aaa9cfcc3bcaa.tar.lz nixfiles-3b77cea165c47d617035c3fb622aaa9cfcc3bcaa.tar.zst nixfiles-3b77cea165c47d617035c3fb622aaa9cfcc3bcaa.zip |
Emacs: setup jinja2-mode
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 4 |
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) |