like-vim emacs ruby indentation

Posted by edbond on Stack Overflow See other posts from Stack Overflow or by edbond
Published on 2010-05-05T19:54:25Z Indexed on 2010/05/05 19:58 UTC
Read the original article Hit count: 118

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about vim

Related posts about emacs