From e15947928f48095bb5029b0fa6473067154bb58d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 12 Sep 2018 22:08:50 -0700 Subject: [PATCH] Enable electic-pair mode for Ruby files --- emacs/.emacs.d/init/oni-ruby-init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/.emacs.d/init/oni-ruby-init.el b/emacs/.emacs.d/init/oni-ruby-init.el index bd98c82..c98f120 100755 --- a/emacs/.emacs.d/init/oni-ruby-init.el +++ b/emacs/.emacs.d/init/oni-ruby-init.el @@ -25,6 +25,7 @@ ;;; Code: (add-hook 'ruby-mode-hook 'fci-mode) +(add-hook 'ruby-mode-hook 'electric-pair-local-mode) (provide 'oni-ruby-init) ;;; oni-ruby-init.el ends here