summaryrefslogtreecommitdiff
path: root/ale_linters/less
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/less')
-rwxr-xr-xale_linters/less/lessc.vim2
-rw-r--r--ale_linters/less/stylelint.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/less/lessc.vim b/ale_linters/less/lessc.vim
index 108679de..5fd9a383 100755
--- a/ale_linters/less/lessc.vim
+++ b/ale_linters/less/lessc.vim
@@ -3,7 +3,7 @@
call ale#Set('less_lessc_executable', 'lessc')
call ale#Set('less_lessc_options', '')
-call ale#Set('less_lessc_use_global', 0)
+call ale#Set('less_lessc_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#less#lessc#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'less_lessc', [
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', [