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

* etc/NEWS: Describe it here. * lisp/progmodes/ruby-ts-mode.el (ruby-ts--parent-call-or-bol): Support the option ruby-bracketed-args-indent here too (bug#60321). * test/lisp/progmodes/ruby-ts-mode-tests.el: Include ruby-bracketed-args-indent.rb as test examples. * test/lisp/progmodes/ruby-mode-resources/ruby-bracketed-args-indent.rb: Extend examples for better regression testing.
42 lines
377 B
Ruby
42 lines
377 B
Ruby
foo
|
|
.update({
|
|
key => value,
|
|
other_key:
|
|
}, {
|
|
key => value,
|
|
other_key:
|
|
})
|
|
|
|
update([
|
|
1,
|
|
2
|
|
], [
|
|
3,
|
|
4
|
|
])
|
|
|
|
update([{
|
|
key: "value"
|
|
}, {
|
|
key: "value"
|
|
}])
|
|
|
|
update(arg1, {
|
|
foo: "bar"
|
|
}, [
|
|
1,
|
|
2
|
|
], arg2)
|
|
|
|
def foo
|
|
foo.update(
|
|
{
|
|
key => value,
|
|
other_key: foo
|
|
}
|
|
)
|
|
end
|
|
|
|
# Local Variables:
|
|
# ruby-bracketed-args-indent: nil
|
|
# End:
|