diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-11 23:48:43 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-11 23:48:43 +0100 |
commit | 1d2405f2bc9dc6485c7e0f57f06e316f8d3c855e (patch) | |
tree | d79117d6fbd6c79622a87a39f9961d671cbd94d8 /autoload | |
parent | 78bcf96e345c9aa31412ae06e1da2bbe6a568ff5 (diff) | |
download | ale-1d2405f2bc9dc6485c7e0f57f06e316f8d3c855e.zip |
Fix an ale:linters bug, and add a test for it.
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/linter.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 0cd3f9b1..f99d32a9 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -108,7 +108,7 @@ function! ale#linter#Get(original_filetype) abort elseif type(l:linter_names) == type([]) " Select only the linters we or the user has specified. for l:linter in l:all_linters - if index(l:linter_names, l:linter.name) + if index(l:linter_names, l:linter.name) >= 0 call add(l:combined_linters, l:linter) endif endfor |