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

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

View File

@@ -2,7 +2,7 @@
" Description: Elm linting in Ale. Closely follows the Syntastic checker in https://github.com/ElmCast/elm-vim.
call ale#Set('elm_make_executable', 'elm-make')
call ale#Set('elm_make_use_global', 0)
call ale#Set('elm_make_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#elm#make#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'elm_make', [