1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00

* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block

with parameters" example.  Simplify the "is it block or is it
hash" check, but also make it more thorough.

* test/indent/ruby.rb: Fix syntax error in the latest example.
This commit is contained in:
Dmitry Gutov 2013-10-24 04:47:28 +04:00
parent 9843415589
commit 369bbf7198
4 changed files with 13 additions and 5 deletions

View file

@ -40,7 +40,7 @@ foo = { # ruby-deep-indent-disabled
a: b
}
foo = { a: b
foo = { a: b,
a1: b1
}