From ecbb7cf5919191f149e9934fb05c49eeb468ffa6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 31 Jan 2015 12:50:02 +0000 Subject: Emacs: Disable auto-indent in yaml/salt modes --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 32f273f2..49eb5f68 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -504,6 +504,8 @@ 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 -- cgit 1.4.1