#1303 jq isn't a Node program

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

No files matched your search

+1 -4
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