Merge pull request #2307 from lukas-reineke/clear-virtualtext-on-disable

Clear the virtualtext on disable
This commit is contained in:
w0rp 2019-02-20 09:04:19 +00:00 committed by GitHub
commit 09cbd70d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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