summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-10-27 16:47:42 +0100
committerGravatar Tom Willemse2014-10-27 16:47:42 +0100
commit187e1d717487b640a34acdc6c983d7ea989c194b (patch)
tree73ac836ebb22accd4e0eadce550e7483659bd42f /emacs/.emacs.d/init.org
parent039e4454525255a7b93a9fab4daf6e75e06f7b4f (diff)
downloaddotfiles-187e1d717487b640a34acdc6c983d7ea989c194b.tar.gz
dotfiles-187e1d717487b640a34acdc6c983d7ea989c194b.zip
Add automatic pairing to enh-ruby-mode
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 7cf8144..6a726e2 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1027,6 +1027,14 @@
(add-hook 'haml-mode-hook #'oni:electric-pair-local-mode)
#+END_SRC
+* Ruby
+
+ - Automatically match parentheses and other delimiters.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'enh-ruby-mode-hook #'oni:electric-pair-local-mode)
+ #+END_SRC
+
* Load custom file
I don't really use the Emacs customization interface much, but I