* lisp/progmodes/ruby-mode.el: First cut at SMIE support.
commita9e4425bc99733b6ecf3898801b6595f35c4ef30
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 8 May 2013 20:25:57 +0000 (8 16:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 8 May 2013 20:25:57 +0000 (8 16:25 -0400)
tree903ca31485cda0ddef4de71a44ed8283542a6d88
parent060ca4088d928e0808d13a551ea11b2fc00769d4
* lisp/progmodes/ruby-mode.el: First cut at SMIE support.
(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.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/indent/ruby.rb