ruby-mode from svn, looks equal to 1.1 version
here is emacs indentation of hash
User.all({
:joins => :account,
:conditions => {:delete_at => nil}
})
here is the same in vim
User.all({
:joins => :account,
:conditions => {:delete_at => nil}
})
How to make emacs indent like vim in ruby-mode?
Try M-x customize-mode; you'll see options for customizing Ruby indentation. Looks like you may want to change "Ruby Deep Indent Paren" to nil.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With