From 7a8e863372414120e2a25ee4f11ddc7b60e8c03d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 3 Nov 2013 12:35:20 +0000 Subject: Emacs: enable autopair-mode in yaml-mode --- emacs/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 3bed12a..7912f7a 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -631,7 +631,9 @@ Values: `desktop', `server', `laptop'") (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 -- cgit 1.4.1