summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-01-31 12:50:02 +0000
committerAlan Pearce2015-01-31 12:50:02 +0000
commitecbb7cf5919191f149e9934fb05c49eeb468ffa6 (patch)
treeceaf66aba29c7bf39b3a849f82af451b351974bb
parent28ca9a6c5b2f33e0c54fede6319111ad91392a78 (diff)
downloadnixfiles-ecbb7cf5919191f149e9934fb05c49eeb468ffa6.tar.lz
nixfiles-ecbb7cf5919191f149e9934fb05c49eeb468ffa6.tar.zst
nixfiles-ecbb7cf5919191f149e9934fb05c49eeb468ffa6.zip
Emacs: Disable auto-indent in yaml/salt modes
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
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