Skip to content

Commit

Permalink
Update ruby.vim (#27)
Browse files Browse the repository at this point in the history
Now using `shiftwidth()` for indention number
  • Loading branch information
alok authored and sbdchd committed Jan 9, 2017
1 parent a39debd commit ed7d2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/ruby.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ endfunction
function! neoformat#formatters#ruby#rubybeautify() abort
return {
\ 'exe': 'ruby-beautify',
\ 'args': ['--spaces', '-c 2'],
\ 'args': ['--spaces', '-c ' . shiftwith()],
\ }
endfunction

0 comments on commit ed7d2ca

Please sign in to comment.