]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/ruby-mode.el (ruby-mode-map): Add binding for
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Oct 2013 03:50:06 +0000 (07:50 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Oct 2013 03:50:06 +0000 (07:50 +0400)
commit8c1ae48154e4c6935da3120362ea535f0dddfec5
treed8c450d065eeb0820bbcd4ddd7f9233b73a1af69
parenta9f8deecce02a4acdb5259297878799b69d56a21
* lisp/progmodes/ruby-mode.el (ruby-mode-map): Add binding for
`smie-down-list'.
(ruby-smie--args-separator-p): Check that there's no newline
between method call and its arguments.
(ruby-smie-rules): Handle new cases: curly block with and without
parameters, hash surrounded with parens, block passed to
paren-less method call.

* test/indent/ruby.rb: New examples for indentation of blocks.  Example
of hash inside parens that inflooped before this commit.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/indent/ruby.rb