Initialize rubocop variables in one place

This commit is contained in:
w0rp
2017-07-06 22:47:07 +01:00
parent 5859050d29
commit b43413916d
3 changed files with 9 additions and 31 deletions
+6
View File
@@ -0,0 +1,6 @@
call ale#Set('ruby_rubocop_options', '')
call ale#Set('ruby_rubocop_executable', 'rubocop')
function! ale#handlers#rubocop#GetExecutable(buffer) abort
return ale#Var(a:buffer, 'ruby_rubocop_executable')
endfunction