summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/standard.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/javascript/standard.vim')
-rw-r--r--ale_linters/javascript/standard.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/javascript/standard.vim b/ale_linters/javascript/standard.vim
index aa6a3a72..f16b837a 100644
--- a/ale_linters/javascript/standard.vim
+++ b/ale_linters/javascript/standard.vim
@@ -2,7 +2,7 @@
" Description: standardjs for JavaScript files
call ale#Set('javascript_standard_executable', 'standard')
-call ale#Set('javascript_standard_use_global', 0)
+call ale#Set('javascript_standard_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#Set('javascript_standard_options', '')
function! ale_linters#javascript#standard#GetExecutable(buffer) abort