• Stefan Monnier's avatar
    * lisp/progmodes/ruby-mode.el: First cut at SMIE support. · a9e4425b
    Stefan Monnier authored
    (ruby-use-smie): New var.
    (ruby-smie-grammar): New constant.
    (ruby-smie--bosp, ruby-smie--implicit-semi-p)
    (ruby-smie--forward-token, ruby-smie--backward-token)
    (ruby-smie-rules): New functions.
    (ruby-mode-variables): Setup SMIE if applicable.
    * test/indent/ruby.rb: Fix indentation after =; add more cases.
    a9e4425b
ruby.rb 862 Bytes