Fix #373 - echo the cursor message after lint cycles or when leaving Insert mode

This commit is contained in:
w0rp
2017-03-02 23:36:31 +00:00
parent fab9e8f5ea
commit 0e50a7d278
3 changed files with 49 additions and 0 deletions

View File

@@ -268,6 +268,12 @@ function! ale#engine#SetResults(buffer, loclist) abort
if g:ale_set_highlights
call ale#highlight#SetHighlights(a:buffer, a:loclist)
endif
if g:ale_echo_cursor
" Try and echo the warning now.
" This will only do something meaningful if we're in normal mode.
call ale#cursor#EchoCursorWarning()
endif
endfunction
function! s:SetExitCode(job, exit_code) abort