summaryrefslogtreecommitdiff
path: root/autoload/ale/events.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/events.vim')
-rw-r--r--autoload/ale/events.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/events.vim b/autoload/ale/events.vim
index b8350c79..4efb8a3b 100644
--- a/autoload/ale/events.vim
+++ b/autoload/ale/events.vim
@@ -139,7 +139,7 @@ function! ale#events#Init() abort
autocmd InsertLeave * if exists('*ale#engine#Cleanup') | call ale#cursor#EchoCursorWarning() | endif
endif
- if g:ale_virtualtext_cursor
+ if g:ale_virtualtext_cursor == 1
autocmd CursorMoved,CursorHold * if exists('*ale#engine#Cleanup') | call ale#virtualtext#ShowCursorWarningWithDelay() | endif
" Look for a warning to echo as soon as we leave Insert mode.
" The script's position variable used when moving the cursor will