Fix #1128 - Add g:ale_linters_explicit for only enabling linters explicitly

This commit is contained in:
w0rp 2017-11-14 19:55:28 +00:00
parent 2e9cd978a2
commit 6b2c61a5cc
5 changed files with 119 additions and 15 deletions

View file

@ -68,7 +68,9 @@ let g:ale_filetype_blacklist = [
\]
" This Dictionary configures which linters are enabled for which languages.
let g:ale_linters = get(g:, 'ale_linters', {})
call ale#Set('linters', {})
" This option can be changed to only enable explicitly selected linters.
call ale#Set('linters_explicit', 0)
" This Dictionary configures which functions will be used for fixing problems.
let g:ale_fixers = get(g:, 'ale_fixers', {})