summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-04-18 14:09:12 +0100
committerAlan Pearce2014-04-18 14:09:12 +0100
commit0bfd80ce7ad7fffeca7c0c6fbde6cd66f6fd6539 (patch)
treea0eafa823c855a00776ba03f73cd5901e5cfcda8
parent74d8e462f6c0e5d82511795322e993b54560788d (diff)
downloadnixfiles-0bfd80ce7ad7fffeca7c0c6fbde6cd66f6fd6539.tar.lz
nixfiles-0bfd80ce7ad7fffeca7c0c6fbde6cd66f6fd6539.tar.zst
nixfiles-0bfd80ce7ad7fffeca7c0c6fbde6cd66f6fd6539.zip
Emacs: Disable auto-indent-mode in jinja2-mode
-rw-r--r--tag-emacs/emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index d2aedd92..b1382910 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -474,6 +474,7 @@ Values: `desktop', `server', `laptop'")
                   auto-indent-backward-delete-char-behavior nil
                   auto-indent-delete-trailing-whitespace-on-save-file t
                   auto-indent-mode-untabify-on-yank-or-paste nil)
+            (add-to-list 'auto-indent-disabled-modes-list 'jinja2-mode)
             (auto-indent-global-mode)
             (defun lisp-auto-indent-mode ()
               (set (make-local-variable 'auto-indent-assign-indent-level) 2))