Emacs: enable autopair-mode in yaml-mode
Alan Pearce alan@alanpearce.co.uk
Sun, 03 Nov 2013 12:35:20 +0000
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -631,7 +631,9 @@ ("\\.cap\\'" . ruby-mode))) (use-package yaml-mode :mode (("/group_vars/.*" . yaml-mode) - ("/host_vars/.*" . yaml-mode))) + ("/host_vars/.*" . yaml-mode)) + :config (progn + (add-hook 'yaml-mode-hook #'autopair-mode))) ;;;; Planning