#1303 jq isn't a Node program

This commit is contained in:
w0rp 2018-01-28 11:51:20 +00:00
parent bc63325881
commit 7ef55a8615
3 changed files with 16 additions and 13 deletions

View file

@ -1,11 +1,8 @@
call ale#Set('json_jq_executable', 'jq')
call ale#Set('json_jq_use_global', 0)
call ale#Set('json_jq_options', '')
function! ale#fixers#jq#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'jq', [
\ 'jq',
\])
return ale#Var(a:buffer, 'json_jq_executable')
endfunction
function! ale#fixers#jq#Fix(buffer) abort