Emacs Ruby method parameter indentation
问题 I want to make emacs indent ruby method calls like: foo( :blah => 'bar', :shibby => 'baz' ) The closest I can get is: foo( :blah => 'bar', :shibby => 'baz' ) This is using ruby-deep-indent-paren, ruby-deep-indent-paren-style, ruby-deep-arglist all set to nil. Hashes indent how I like... if I could just make method calls indent like hashes I would be happy. Any ideas? 回答1: Dmitry Gutov has posted this fix, using advice, which seems to work: (defadvice ruby-indent-line (after unindent-closing