Clear the virtualtext on disable

This commit is contained in:
Lukas Reineke 2019-02-20 11:08:27 +09:00
parent fefc093e70
commit b8cecca8c8
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ function! s:DisablePostamble() abort
if g:ale_set_highlights
call ale#highlight#UpdateHighlights()
endif
if g:ale_virtualtext_cursor
call ale#virtualtext#Clear()
endif
endfunction
function! ale#toggle#Toggle() abort