diff options
author | w0rp <devw0rp@gmail.com> | 2018-04-09 19:11:20 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-04-09 19:11:20 +0100 |
commit | 719b790574b6aeb4fc3c956dfbcffa3c3987a668 (patch) | |
tree | d0d773308e97a3002075f9de2348874606b70ed4 /ale_linters/sass | |
parent | 3a47413286ff4701898b571aa4b066bd6d17bf3e (diff) | |
download | ale-719b790574b6aeb4fc3c956dfbcffa3c3987a668.zip |
Close #542 - Add an option for disabling running locally installed executables by default
Diffstat (limited to 'ale_linters/sass')
-rw-r--r-- | ale_linters/sass/stylelint.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/sass/stylelint.vim b/ale_linters/sass/stylelint.vim index 98c37257..fe941d6a 100644 --- a/ale_linters/sass/stylelint.vim +++ b/ale_linters/sass/stylelint.vim @@ -1,7 +1,7 @@ " Author: diartyz <diartyz@gmail.com> call ale#Set('sass_stylelint_executable', 'stylelint') -call ale#Set('sass_stylelint_use_global', 0) +call ale#Set('sass_stylelint_use_global', get(g:, 'ale_use_global_executables', 0)) function! ale_linters#sass#stylelint#GetExecutable(buffer) abort return ale#node#FindExecutable(a:buffer, 'sass_stylelint', [ |