Fix #746 - Keep highlights from other plugins when buffers are hidden

This commit is contained in:
w0rp
2017-07-10 00:02:49 +01:00
parent 6a84605c57
commit 82dd80c692
3 changed files with 24 additions and 9 deletions

View File

@@ -669,7 +669,7 @@ function! ale#engine#Cleanup(buffer) abort
if g:ale_set_highlights
call ale#highlight#UnqueueHighlights(a:buffer)
call ale#highlight#RemoveHighlights([])
call ale#highlight#RemoveHighlights()
endif
call remove(g:ale_buffer_info, a:buffer)