diff options
author | w0rp <devw0rp@gmail.com> | 2017-03-02 23:36:31 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-03-02 23:36:31 +0000 |
commit | 0e50a7d2783fb82ce4abf9ad6c58c5a035d9d047 (patch) | |
tree | d4fee4d76b362377e704ed4c810b78728b2fddef /plugin | |
parent | fab9e8f5ea897a6a51c8a516b4b78c3f8c0bad46 (diff) | |
download | ale-0e50a7d2783fb82ce4abf9ad6c58c5a035d9d047.zip |
Fix #373 - echo the cursor message after lint cycles or when leaving Insert mode
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index 1d7f77a5..90505f29 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -166,6 +166,10 @@ function! s:ALEInitAuGroups() abort autocmd! if g:ale_enabled && g:ale_echo_cursor autocmd CursorMoved,CursorHold * call ale#cursor#EchoCursorWarningWithDelay() + " Look for a warning to echo as soon as we leave Insert mode. + " The script's position variable used when moving the cursor will + " not be changed here. + autocmd InsertLeave * call ale#cursor#EchoCursorWarning() endif augroup END |