From 719b790574b6aeb4fc3c956dfbcffa3c3987a668 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 9 Apr 2018 19:11:20 +0100 Subject: Close #542 - Add an option for disabling running locally installed executables by default --- ale_linters/html/htmlhint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/html/htmlhint.vim') diff --git a/ale_linters/html/htmlhint.vim b/ale_linters/html/htmlhint.vim index 88a83f1d..caa15bbb 100644 --- a/ale_linters/html/htmlhint.vim +++ b/ale_linters/html/htmlhint.vim @@ -3,7 +3,7 @@ call ale#Set('html_htmlhint_options', '') call ale#Set('html_htmlhint_executable', 'htmlhint') -call ale#Set('html_htmlhint_use_global', 0) +call ale#Set('html_htmlhint_use_global', get(g:, 'ale_use_global_executables', 0)) function! ale_linters#html#htmlhint#GetExecutable(buffer) abort return ale#node#FindExecutable(a:buffer, 'html_htmlhint', [ -- cgit v1.2.3