• Stefan Monnier's avatar
    * lisp/progmodes/ruby-mode.el: Fix recently added tests. · 7ccae3b1
    Stefan Monnier authored
    (ruby-smie-grammar): Add - and +.
    (ruby-smie--redundant-do-p, ruby-smie--forward-id)
    (ruby-smie--backward-id): New functions.
    (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
    (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
    any more.
    * test/indent/ruby.rb: Add a few more tests; adjust some indentation.
    7ccae3b1
ruby.rb 2.18 KB