diff options
author | Alan Pearce | 2014-04-19 08:41:20 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-19 08:41:20 +0100 |
commit | 0a42ff72d0288fe23e1751924a036649669f1ded (patch) | |
tree | e72156b6d43f7b65260632c444540bf9fb7e0f26 | |
parent | d1e8149cc3af36cd790b0d9e9029d477e9f4d1a2 (diff) | |
download | dotfiles-0a42ff72d0288fe23e1751924a036649669f1ded.tar.lz dotfiles-0a42ff72d0288fe23e1751924a036649669f1ded.tar.zst dotfiles-0a42ff72d0288fe23e1751924a036649669f1ded.zip |
Emacs: Disable autopair in yaml-mode
It seems that the annoying indent-on-return behaviour can't easily be disabled.
-rw-r--r-- | tag-emacs/emacs.d/init.el | 4 |
1 files changed, 1 insertions, 3 deletions
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 |