diff options
author | Alan Pearce | 2013-11-03 12:35:20 +0000 |
---|---|---|
committer | Alan Pearce | 2013-11-03 12:35:20 +0000 |
commit | 7a8e863372414120e2a25ee4f11ddc7b60e8c03d (patch) | |
tree | c6d40f4faffab5d55a594d4ea5b4bbd8aa5e94c4 | |
parent | d658978cd6d004369edef823ec6a6b0d1b2e444a (diff) | |
download | dotfiles-7a8e863372414120e2a25ee4f11ddc7b60e8c03d.tar.lz dotfiles-7a8e863372414120e2a25ee4f11ddc7b60e8c03d.tar.zst dotfiles-7a8e863372414120e2a25ee4f11ddc7b60e8c03d.zip |
Emacs: enable autopair-mode in yaml-mode
-rw-r--r-- | emacs/init.el | 4 |
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 |