summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 3bed12a5..7912f7a2 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