From 0e50a7d2783fb82ce4abf9ad6c58c5a035d9d047 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 2 Mar 2017 23:36:31 +0000 Subject: Fix #373 - echo the cursor message after lint cycles or when leaving Insert mode --- autoload/ale/engine.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'autoload') diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index bc834083..ffef76a9 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -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 -- cgit v1.2.3