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 ab590911..c73c775e 100644
--- a/ale_linters/lua/luacheck.vim
+++ b/ale_linters/lua/luacheck.vim
@@ -5,7 +5,7 @@ let g:ale_lua_luacheck_executable =
\ get(g:, 'ale_lua_luacheck_executable', 'luacheck')
function! ale_linters#lua#luacheck#GetExecutable(buffer) abort
- return g:ale_lua_luacheck_executable
+ return ale#Var(a:buffer, 'lua_luacheck_executable')
endfunction
function! ale_linters#lua#luacheck#GetCommand(buffer) abort