diff options
author | Charles B Johnson <mail@cbjohnson.info> | 2020-04-08 18:20:10 -0500 |
---|---|---|
committer | Charles B Johnson <mail@cbjohnson.info> | 2021-01-22 09:23:53 -0600 |
commit | 4a6136c27ec2430a1ef5481e0ca10dee03ba178f (patch) | |
tree | 440ec6ab24d08f14071ef3a5d15f98e9e39a42dc /autoload | |
parent | 6bfcb9cdffb86bf1a3e6d26cd1964858ff4bc3dd (diff) | |
download | ale-4a6136c27ec2430a1ef5481e0ca10dee03ba178f.zip |
fixers/xo: add tests
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/fixers/xo.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/autoload/ale/fixers/xo.vim b/autoload/ale/fixers/xo.vim index 882350be..69d23ea3 100644 --- a/autoload/ale/fixers/xo.vim +++ b/autoload/ale/fixers/xo.vim @@ -14,10 +14,12 @@ endfunction function! ale#fixers#xo#Fix(buffer) abort let l:executable = ale#fixers#xo#GetExecutable(a:buffer) + let l:options = ale#Var(a:buffer, 'javascript_xo_options') return { \ 'command': ale#node#Executable(a:buffer, l:executable) - \ . ' --fix %t', + \ . ' --fix %t' + \ . ale#Pad(l:options), \ 'read_temporary_file': 1, \} endfunction |