Clear the virtualtext on disable

This commit is contained in:
Lukas Reineke 2019-02-20 11:08:27 +09:00
parent fefc093e70
commit b8cecca8c8

View File

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