all repos — archive/dotfiles @ ecbb7cf5919191f149e9934fb05c49eeb468ffa6

Superseded by nixfiles

Emacs: Disable auto-indent in yaml/salt modes
Alan Pearce alan@alanpearce.co.uk
Sat, 31 Jan 2015 12:50:02 +0000
commit

ecbb7cf5919191f149e9934fb05c49eeb468ffa6

parent

28ca9a6c5b2f33e0c54fede6319111ad91392a78

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

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -504,6 +504,8 @@ auto-indent-mode-untabify-on-yank-or-paste nil                   auto-indent-known-indent-level-variables
                   (remq 'lisp-body-indent auto-indent-known-indent-level-variables))
             (add-to-list 'auto-indent-disabled-modes-list 'jinja2-mode)
+            (add-to-list 'auto-indent-disabled-modes-list 'yaml-mode)
+            (add-to-list 'auto-indent-disabled-modes-list 'saltstack-mode)
             (auto-indent-global-mode)))
 
 (req-package smart-tabs-mode