summaryrefslogtreecommitdiff
path: root/ale_linters/lua/luacheck.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/lua/luacheck.vim')
-rw-r--r--ale_linters/lua/luacheck.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/lua/luacheck.vim b/ale_linters/lua/luacheck.vim
index 8e3e9869..f375f88c 100644
--- a/ale_linters/lua/luacheck.vim
+++ b/ale_linters/lua/luacheck.vim
@@ -12,7 +12,7 @@ function! ale_linters#lua#luacheck#GetExecutable(buffer) abort
endfunction
function! ale_linters#lua#luacheck#GetCommand(buffer) abort
- return shellescape(ale_linters#lua#luacheck#GetExecutable(a:buffer))
+ return ale#Escape(ale_linters#lua#luacheck#GetExecutable(a:buffer))
\ . ' ' . ale#Var(a:buffer, 'lua_luacheck_options')
\ . ' --formatter plain --codes --filename %s -'
endfunction