summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-14 19:55:28 +0000
committerw0rp <devw0rp@gmail.com>2017-11-14 19:55:46 +0000
commit6b2c61a5cc59d61270266dbe399d5dc55cfad5b4 (patch)
tree1eca19b412753868059467df9043d737b155d680 /plugin
parent2e9cd978a23c60d061b4b4dd7fb46d2d2949e08e (diff)
downloadale-6b2c61a5cc59d61270266dbe399d5dc55cfad5b4.zip
Fix #1128 - Add g:ale_linters_explicit for only enabling linters explicitly
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 11df5204..31c3377e 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -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', {})