#115 - Make ALE shut up about not being able to load linter files which don't exist when it works anyway.

This commit is contained in:
w0rp 2016-10-17 11:26:14 +01:00
parent 27aad958d6
commit 15df679765

View File

@ -64,7 +64,7 @@ function! s:LoadLinters(filetype) abort
endif endif
" Load all linters for a given filetype. " Load all linters for a given filetype.
execute 'runtime! ale_linters/' . a:filetype . '/*.vim' execute 'silent! runtime! ale_linters/' . a:filetype . '/*.vim'
if !has_key(s:linters, a:filetype) if !has_key(s:linters, a:filetype)
" If we couldn't load any linters, let everyone know. " If we couldn't load any linters, let everyone know.