Close #542 - Add an option for disabling running locally installed executables by default

This commit is contained in:
w0rp committed 2018-04-09 19:11:20 +01:00
1 parent 3a47413286
commit 719b790574
71 files changed
+109 -92

No files matched your search

+1 -1
View File
@@ -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', [