summaryrefslogtreecommitdiff
path: root/ale_linters/less/stylelint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/less/stylelint.vim')
-rw-r--r--ale_linters/less/stylelint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/less/stylelint.vim b/ale_linters/less/stylelint.vim
index 690c8c93..8e16a098 100644
--- a/ale_linters/less/stylelint.vim
+++ b/ale_linters/less/stylelint.vim
@@ -2,7 +2,7 @@
call ale#Set('less_stylelint_executable', 'stylelint')
call ale#Set('less_stylelint_options', '')
-call ale#Set('less_stylelint_use_global', 0)
+call ale#Set('less_stylelint_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#less#stylelint#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'less_stylelint', [