Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Jasper Woudenberg
2017-03-02 19:04:28 -08:00
4 changed files with 55 additions and 8 deletions

View File

@@ -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