mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-17 11:20:39 -08:00
ruby-ts-mode: Fix two additional cases with ruby-method-call-indent=nil
* 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.
This commit is contained in:
parent
ae7e28a437
commit
e74ba72a6a
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
foo = subject
|
||||
.update(
|
||||
1
|
||||
)
|
||||
|
||||
foo2 =
|
||||
subject.
|
||||
update(
|
||||
|
|
@ -10,6 +15,10 @@ foo3 =
|
|||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue