diff options
-rw-r--r-- | autoload/ale/toggle.vim | 4 | ||||
-rw-r--r-- | doc/ale.txt | 2 |
2 files changed, 5 insertions, 1 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 diff --git a/doc/ale.txt b/doc/ale.txt index 85d4de3b..22639251 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -2648,7 +2648,7 @@ ALEGoToDefinitionInVSplit *ALEGoToDefinitionInVSplit* ALEGoToTypeDefinition *ALEGoToTypeDefinition* This works similar to |ALEGoToDefinition| but instead jumps to the - definition of a type of a symbol undert the cursor. ALE will jump to a + definition of a type of a symbol under the cursor. ALE will jump to a definition if an LSP server provides a location to jump to. Otherwise, ALE will do nothing. |