mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 07:40:39 -08:00
* lisp/progmodes/ruby-mode.el (ruby-bracketed-args-indent): New option. (ruby-smie-rules): Use it (bug#60321). * test/lisp/progmodes/ruby-mode-resources/ruby-bracketed-args-indent.rb: New file. * test/lisp/progmodes/ruby-mode-tests.el: Use it for new case.
32 lines
274 B
Ruby
32 lines
274 B
Ruby
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)
|
|
|
|
# Local Variables:
|
|
# ruby-bracketed-args-indent: nil
|
|
# End:
|