#1303 jq isn't a Node program
This commit is contained in:
parent
bc63325881
commit
7ef55a8615
3 changed files with 16 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue