From 187e1d717487b640a34acdc6c983d7ea989c194b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 27 Oct 2014 16:47:42 +0100 Subject: Add automatic pairing to enh-ruby-mode --- emacs/.emacs.d/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs/.emacs.d/init.org') 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 -- cgit v1.2.3-54-g00ecf