diff options
author | w0rp <w0rp@users.noreply.github.com> | 2019-02-20 09:04:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 09:04:19 +0000 |
commit | 09cbd70d9bc49dee421e0d4fdb252f8a77d8b1d6 (patch) | |
tree | 00092eb9646f17ae751d6949c1cdb7e2e10410a0 | |
parent | fefc093e707716da755ca2c326f852495f1b56fb (diff) | |
parent | b8cecca8c8880e4e140258a5342301f698b58cd9 (diff) | |
download | ale-09cbd70d9bc49dee421e0d4fdb252f8a77d8b1d6.zip |
Merge pull request #2307 from lukas-reineke/clear-virtualtext-on-disable
Clear the virtualtext on disable
-rw-r--r-- | autoload/ale/toggle.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/ale/toggle.vim b/autoload/ale/toggle.vim index 8e642b3f..1311e527 100644 --- a/autoload/ale/toggle.vim +++ b/autoload/ale/toggle.vim @@ -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 |