diff options
| author | Dmitry Gutov | 2014-01-31 19:13:49 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2014-01-31 19:13:49 +0200 |
| commit | e2a67bd08ea194da1b338c69c4da6e539782cb14 (patch) | |
| tree | c559f7d7caf622d491520698926e85387dabb4c5 /src | |
| parent | ec80e689331728b22f34a797ec06354ac4595b4a (diff) | |
| download | emacs-e2a67bd08ea194da1b338c69c4da6e539782cb14.tar.gz emacs-e2a67bd08ea194da1b338c69c4da6e539782cb14.zip | |
Implement user option ruby-align-chained-calls
* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
(ruby-smie-grammar): Make "." right-associative. Make its priority
lower than the ternary and all binary operators.
(ruby-smie-rules): Indent "(" relative to the first non-"."
parent, or the first "." parent at indentation. Use
`ruby-align-chained-calls' for indentation of "." tokens.
* test/automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.
Fixes: debbugs:16593
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions