vim-ruby
vim-ruby copied to clipboard
Incorrect method argument alignment
First, thank you very much for writing this!
I get the following code indentation:
redirect_to @foo,
notice: 'Something'
The Ruby Style guide here method argument alignment says that arguments should be aligned with the end of the method name, so I would expect this:
redirect_to @foo,
notice: 'Something'
It works this way when using parentheses:
redirect_to(@foo,
notice: 'Something')
but the style guide recommends not using parentheses for dsl method calls , so using parentheses is not an option in these cases.