summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-04-19 08:41:20 +0100
committerAlan Pearce2014-04-19 08:41:20 +0100
commit0a42ff72d0288fe23e1751924a036649669f1ded (patch)
treee72156b6d43f7b65260632c444540bf9fb7e0f26 /tag-emacs
parentd1e8149cc3af36cd790b0d9e9029d477e9f4d1a2 (diff)
downloadnixfiles-0a42ff72d0288fe23e1751924a036649669f1ded.tar.lz
nixfiles-0a42ff72d0288fe23e1751924a036649669f1ded.tar.zst
nixfiles-0a42ff72d0288fe23e1751924a036649669f1ded.zip
Emacs: Disable autopair in yaml-mode
It seems that the annoying indent-on-return behaviour can't easily be
disabled.
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 0b9f0c52..6af268a2 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -616,9 +616,7 @@ Values: `desktop', `server', `laptop'")
 (use-package yaml-mode
   :mode (("/group_vars/.*" . yaml-mode)
          ("/host_vars/.*" . yaml-mode)
-         ("\\.sls\\'" . yaml-mode))
-  :config (progn
-            (add-hook 'yaml-mode-hook #'autopair-mode)))
+         ("\\.sls\\'" . yaml-mode)))
 
 ;;;; Planning