summaryrefslogtreecommitdiff
path: root/autoload/ale/cleanup.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/cleanup.vim')
-rw-r--r--autoload/ale/cleanup.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/cleanup.vim b/autoload/ale/cleanup.vim
index 3b0b1d90..8b6494ef 100644
--- a/autoload/ale/cleanup.vim
+++ b/autoload/ale/cleanup.vim
@@ -13,6 +13,7 @@ function! ale#cleanup#Buffer(buffer) abort
" Clear delayed highlights for a buffer being removed.
if g:ale_set_highlights
call ale#highlight#UnqueueHighlights(a:buffer)
+ call ale#highlight#RemoveHighlights([])
endif
call remove(g:ale_buffer_info, a:buffer)