mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-25 06:17:34 +00:00
* 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
|
||
|---|---|---|
| .. | ||
| css-mode.css | ||
| js.js | ||
| latex-mode.tex | ||
| Makefile | ||
| modula2.mod | ||
| octave.m | ||
| pascal.pas | ||
| perl.perl | ||
| prolog.prolog | ||
| ruby.rb | ||
| shell.rc | ||
| shell.sh | ||