summaryrefslogtreecommitdiff
path: root/ale_linters/python/pylint.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-09 19:11:20 +0100
committerw0rp <devw0rp@gmail.com>2018-04-09 19:11:20 +0100
commit719b790574b6aeb4fc3c956dfbcffa3c3987a668 (patch)
treed0d773308e97a3002075f9de2348874606b70ed4 /ale_linters/python/pylint.vim
parent3a47413286ff4701898b571aa4b066bd6d17bf3e (diff)
downloadale-719b790574b6aeb4fc3c956dfbcffa3c3987a668.zip
Close #542 - Add an option for disabling running locally installed executables by default
Diffstat (limited to 'ale_linters/python/pylint.vim')
-rw-r--r--ale_linters/python/pylint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/pylint.vim b/ale_linters/python/pylint.vim
index d757e8e8..27ee6c61 100644
--- a/ale_linters/python/pylint.vim
+++ b/ale_linters/python/pylint.vim
@@ -7,7 +7,7 @@ let g:ale_python_pylint_executable =
let g:ale_python_pylint_options =
\ get(g:, 'ale_python_pylint_options', '')
-let g:ale_python_pylint_use_global = get(g:, 'ale_python_pylint_use_global', 0)
+let g:ale_python_pylint_use_global = get(g:, 'ale_python_pylint_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#python#pylint#GetExecutable(buffer) abort
return ale#python#FindExecutable(a:buffer, 'python_pylint', ['pylint'])