Fix #658 - Clear highlights for all problem types
This commit is contained in:
parent
7e79018b8c
commit
8ab103504f
@ -64,15 +64,7 @@ function! ale#highlight#UnqueueHighlights(buffer) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:GetALEMatches() abort
|
function! s:GetALEMatches() abort
|
||||||
let l:list = []
|
return filter(getmatches(), 'v:val.group =~# ''^ALE''')
|
||||||
|
|
||||||
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
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:GetCurrentMatchIDs(loclist) abort
|
function! s:GetCurrentMatchIDs(loclist) abort
|
||||||
|
Loading…
Reference in New Issue
Block a user