* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Oct 2013 22:25:59 +0000 (02:25 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Oct 2013 22:25:59 +0000 (02:25 +0400)
commit18cacc392d076dfd78b58e842116c0c578aaf3c7
tree49c2ef2ee1f7d002025ecc5ed9364ac1271a0c44
parent1257317a7c3d4052a6c43f2774cd0a6c6057d420
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
TODO.  Add "." after " @ ".
(ruby-smie--at-dot-call): New function.  Checks if point at method
call with explicit target.
(ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
to the method name tokens when it precedes them.
(ruby-smie--backward-id, ruby-smie--forward-id): Remove.
(ruby-smie-rules): Add rule for indentation before and after "."
token.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/indent/ruby.rb