summaryrefslogtreecommitdiff
path: root/ale_linters/matlab/mlint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/matlab/mlint.vim')
-rw-r--r--ale_linters/matlab/mlint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/matlab/mlint.vim b/ale_linters/matlab/mlint.vim
index 775d431c..68f9cf81 100644
--- a/ale_linters/matlab/mlint.vim
+++ b/ale_linters/matlab/mlint.vim
@@ -5,7 +5,7 @@ let g:ale_matlab_mlint_executable =
\ get(g:, 'ale_matlab_mlint_executable', 'mlint')
function! ale_linters#matlab#mlint#GetExecutable(buffer) abort
- return g:ale_matlab_mlint_executable
+ return ale#Var(a:buffer, 'matlab_mlint_executable')
endfunction
function! ale_linters#matlab#mlint#GetCommand(buffer) abort