diff options
author | Lukas Reineke <lukas.reineke@protonmail.com> | 2019-02-20 11:08:27 +0900 |
---|---|---|
committer | Lukas Reineke <lukas.reineke@protonmail.com> | 2019-02-20 11:08:27 +0900 |
commit | b8cecca8c8880e4e140258a5342301f698b58cd9 (patch) | |
tree | 00092eb9646f17ae751d6949c1cdb7e2e10410a0 /autoload | |
parent | fefc093e707716da755ca2c326f852495f1b56fb (diff) | |
download | ale-b8cecca8c8880e4e140258a5342301f698b58cd9.zip |
Clear the virtualtext on disable
Diffstat (limited to 'autoload')
-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 |