diff options
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 |