diff options
author | Alan Pearce | 2014-06-14 19:11:16 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-14 19:11:16 +0100 |
commit | 7a98af7e942ea7260dbe72abf104f9aef20c4f20 (patch) | |
tree | b1ecc05d5c67ac74f86c4dbaf4386898df7d8e25 | |
parent | d03c4dcd2afc75d6b906c780a009a3ea4e306c7d (diff) | |
download | dotfiles-7a98af7e942ea7260dbe72abf104f9aef20c4f20.tar.lz dotfiles-7a98af7e942ea7260dbe72abf104f9aef20c4f20.tar.zst dotfiles-7a98af7e942ea7260dbe72abf104f9aef20c4f20.zip |
Emacs: enable autopair in yaml and text modes
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index ebf4023..3a17058 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -780,6 +780,8 @@ autopair-on) :init (progn (add-hook 'prog-mode-hook #'autopair-on) + (add-hook 'text-mode-hook #'autopair-on) + (add-hook 'yaml-mode-hook #'autopair-on) (defun autopair-off () (autopair-mode -1)) (add-hook 'web-mode-hook #'autopair-off) |