From 0a42ff72d0288fe23e1751924a036649669f1ded Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 19 Apr 2014 08:41:20 +0100 Subject: Emacs: Disable autopair in yaml-mode It seems that the annoying indent-on-return behaviour can't easily be disabled. --- tag-emacs/emacs.d/init.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tag-emacs/emacs.d/init.el') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 0b9f0c5..6af268a 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 -- cgit 1.4.1