Enable electric indent in ruby buffers

This commit is contained in:
Tom Willemse 2014-12-28 01:25:07 +01:00
parent 6a8d1ea37b
commit f227653717

View file

@ -1152,6 +1152,12 @@
(setq ruby-align-chained-calls t) (setq ruby-align-chained-calls t)
#+END_SRC #+END_SRC
- Automatically indent code.
#+BEGIN_SRC emacs-lisp
(add-hook 'ruby-mode-hook #'electric-indent-local-mode)
#+END_SRC
** Coffee ** Coffee
- Automatically match parentheses and other delimiters. - Automatically match parentheses and other delimiters.