summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/xo.vim4
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