summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.org6
1 files changed, 6 insertions, 0 deletions
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.