summaryrefslogtreecommitdiff
path: root/ale_linters/tex/lacheck.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/tex/lacheck.vim')
-rw-r--r--ale_linters/tex/lacheck.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/tex/lacheck.vim b/ale_linters/tex/lacheck.vim
index 300e95d8..de8e76ab 100644
--- a/ale_linters/tex/lacheck.vim
+++ b/ale_linters/tex/lacheck.vim
@@ -5,11 +5,11 @@ let g:ale_tex_lacheck_executable =
\ get(g:, 'ale_tex_lacheck_executable', 'lacheck')
function! ale_linters#tex#lacheck#GetExecutable(buffer) abort
- return g:ale_tex_lacheck_executable
+ return ale#Var(a:buffer, 'tex_lacheck_executable')
endfunction
function! ale_linters#tex#lacheck#GetCommand(buffer) abort
- return g:ale_tex_lacheck_executable . ' %t'
+ return ale#Var(a:buffer, 'tex_lacheck_executable') . ' %t'
endfunction
function! ale_linters#tex#lacheck#Handle(buffer, lines) abort