Enable electric indent in ruby buffers
This commit is contained in:
parent
6a8d1ea37b
commit
f227653717
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue