From f227653717ecef3b49739c9a9d8a4138de49c889 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 28 Dec 2014 01:25:07 +0100 Subject: Enable electric indent in ruby buffers --- emacs/.emacs.d/init.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'emacs/.emacs.d/init.org') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 0966f94..9ae5c36 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1152,6 +1152,12 @@ (setq ruby-align-chained-calls t) #+END_SRC + - Automatically indent code. + + #+BEGIN_SRC emacs-lisp + (add-hook 'ruby-mode-hook #'electric-indent-local-mode) + #+END_SRC + ** Coffee - Automatically match parentheses and other delimiters. -- cgit v1.2.3-54-g00ecf