mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-20 21:07:04 +08:00
Rubocop fixer now uses g:ale_ruby_rubocop_options (#841)
* Rubocop fixer now uses g:ale_ruby_rubocop_options * Adds spec
This commit is contained in:
1 parent
9ae2df1958
commit
0c26e8945c
2 files changed
+17
-3
No files matched your search
@@ -7,7 +7,8 @@ function! ale#fixers#rubocop#GetCommand(buffer) abort
|
||||
|
||||
return ale#Escape(l:executable) . l:exec_args
|
||||
\ . (!empty(l:config) ? ' --config ' . ale#Escape(l:config) : '')
|
||||
\ . ' --auto-correct %t'
|
||||
\ . ' --auto-correct %t '
|
||||
\ . ale#Var(a:buffer, 'ruby_rubocop_options')
|
||||
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user