aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-09-12 22:08:50 -0700
committerGravatar Tom Willemse2018-09-12 22:08:50 -0700
commite15947928f48095bb5029b0fa6473067154bb58d (patch)
tree955b79c09a74541b3e747b600f925b7ef506026e /emacs
parenta298dfcb93a85653deda305e1523e57028c49447 (diff)
downloadnew-dotfiles-e15947928f48095bb5029b0fa6473067154bb58d.tar.gz
new-dotfiles-e15947928f48095bb5029b0fa6473067154bb58d.zip
Enable electic-pair mode for Ruby files
Diffstat (limited to 'emacs')
-rwxr-xr-xemacs/.emacs.d/init/oni-ruby-init.el1
1 files changed, 1 insertions, 0 deletions
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