mirror of
https://github.com/dense-analysis/ale
synced 2024-12-23 22:53:40 +00:00
15 lines
316 B
Plaintext
15 lines
316 B
Plaintext
Before:
|
|
Save g:ale_json_jq_executable
|
|
Save g:ale_json_jq_options
|
|
|
|
After:
|
|
Restore
|
|
|
|
Execute(The jq fixer should use the options you set):
|
|
let g:ale_json_jq_executable = 'foo'
|
|
let g:ale_json_jq_options = '--bar'
|
|
|
|
AssertEqual
|
|
\ {'command': ale#Escape('foo') . ' . --bar'},
|
|
\ ale#fixers#jq#Fix(bufnr(''))
|