summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/xo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/javascript/xo.vim')
-rw-r--r--ale_linters/javascript/xo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/javascript/xo.vim b/ale_linters/javascript/xo.vim
index 0276b551..a3e9f999 100644
--- a/ale_linters/javascript/xo.vim
+++ b/ale_linters/javascript/xo.vim
@@ -23,7 +23,7 @@ function! ale_linters#javascript#xo#GetExecutable(buffer) abort
endfunction
function! ale_linters#javascript#xo#GetCommand(buffer) abort
- return ale_linters#javascript#xo#GetExecutable(a:buffer)
+ return fnameescape(ale_linters#javascript#xo#GetExecutable(a:buffer))
\ . ' ' . ale#Var(a:buffer, 'javascript_xo_options')
\ . ' --reporter unix --stdin --stdin-filename %s'
endfunction