summaryrefslogtreecommitdiff
path: root/ale_linters/python/pyflakes.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/python/pyflakes.vim')
-rw-r--r--ale_linters/python/pyflakes.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/pyflakes.vim b/ale_linters/python/pyflakes.vim
index b4a0b5f9..475c3a6d 100644
--- a/ale_linters/python/pyflakes.vim
+++ b/ale_linters/python/pyflakes.vim
@@ -2,7 +2,7 @@
" Description: pyflakes for python files
call ale#Set('python_pyflakes_executable', 'pyflakes')
-call ale#Set('python_pyflakes_use_global', 0)
+call ale#Set('python_pyflakes_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#python#pyflakes#GetExecutable(buffer) abort
return ale#python#FindExecutable(a:buffer, 'python_pyflakes', ['pyflakes'])