Fix #2555 - Remove highlights in lowercase, etc

This commit is contained in:
w0rp
2019-06-03 20:16:49 +01:00
parent a730a6d5d5
commit a76f056bd9
3 changed files with 13 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ endfunction
function! ale#highlight#RemoveHighlights() abort
for l:match in getmatches()
if l:match.group =~# '^ALE'
if l:match.group =~? '\v^ALE(Style)?(Error|Warning|Info)(Line)?$'
call matchdelete(l:match.id)
endif
endfor