all repos — nixfiles @ 0bfd80ce7ad7fffeca7c0c6fbde6cd66f6fd6539

System and user configuration, managed by nix and home-manager

Emacs: Disable auto-indent-mode in jinja2-mode
Alan Pearce alan@alanpearce.co.uk
Fri, 18 Apr 2014 14:09:12 +0100
commit

0bfd80ce7ad7fffeca7c0c6fbde6cd66f6fd6539

parent

74d8e462f6c0e5d82511795322e993b54560788d

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

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -474,6 +474,7 @@ auto-indent-assign-indent-level 4                   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))