Reputation: 3951
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?
Upvotes: 9
Views: 1782
Reputation: 44321
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.
Upvotes: 16