Fix #658 - Clear highlights for all problem types

This commit is contained in:
w0rp 2017-06-18 18:20:05 +01:00
parent 7e79018b8c
commit 8ab103504f
1 changed files with 1 additions and 9 deletions

View File

@ -64,15 +64,7 @@ function! ale#highlight#UnqueueHighlights(buffer) abort
endfunction
function! s:GetALEMatches() abort
let l:list = []
for l:match in getmatches()
if l:match['group'] ==# 'ALEError' || l:match['group'] ==# 'ALEWarning'
call add(l:list, l:match)
endif
endfor
return l:list
return filter(getmatches(), 'v:val.group =~# ''^ALE''')
endfunction
function! s:GetCurrentMatchIDs(loclist) abort