mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-10 14:10:51 +00:00

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules): Fix two additional cases with ruby-method-call-indent=nil. * test/lisp/progmodes/ruby-mode-resources/ruby-method-call-indent.rb: Add examples.
24 lines
276 B
Ruby
24 lines
276 B
Ruby
foo = subject
|
|
.update(
|
|
1
|
|
)
|
|
|
|
foo2 =
|
|
subject.
|
|
update(
|
|
2
|
|
)
|
|
|
|
foo3 =
|
|
subject
|
|
.update(
|
|
2
|
|
)
|
|
|
|
my_array.select { |str| str.size > 5 }
|
|
.map { |str| str.downcase }
|
|
|
|
# Local Variables:
|
|
# ruby-method-call-indent: nil
|
|
# ruby-align-chained-calls: nil
|
|
# End:
|