summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-11-03 12:35:20 +0000
committerAlan Pearce2013-11-03 12:35:20 +0000
commit7a8e863372414120e2a25ee4f11ddc7b60e8c03d (patch)
treec6d40f4faffab5d55a594d4ea5b4bbd8aa5e94c4 /emacs
parentd658978cd6d004369edef823ec6a6b0d1b2e444a (diff)
downloaddotfiles-7a8e863372414120e2a25ee4f11ddc7b60e8c03d.tar.lz
dotfiles-7a8e863372414120e2a25ee4f11ddc7b60e8c03d.tar.zst
dotfiles-7a8e863372414120e2a25ee4f11ddc7b60e8c03d.zip
Emacs: enable autopair-mode in yaml-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 3 insertions, 1 deletions
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