summaryrefslogtreecommitdiff
path: root/ale_linters/pug/puglint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/pug/puglint.vim')
-rw-r--r--ale_linters/pug/puglint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/pug/puglint.vim b/ale_linters/pug/puglint.vim
index 6c29efe9..165e68b7 100644
--- a/ale_linters/pug/puglint.vim
+++ b/ale_linters/pug/puglint.vim
@@ -3,7 +3,7 @@
call ale#Set('pug_puglint_options', '')
call ale#Set('pug_puglint_executable', 'pug-lint')
-call ale#Set('pug_puglint_use_global', 0)
+call ale#Set('pug_puglint_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#pug#puglint#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'pug_puglint', [