• Dmitry Gutov's avatar
    * lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated · 18cacc39
    Dmitry Gutov authored
    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.
    18cacc39
ChangeLog 334 KB