mirror of https://github.com/dense-analysis/ale
#1212 Fix some echo cursor flashing by only echoing once all linters are finished.
This commit is contained in:
parent
e4821c7f2f
commit
8afd9a70a6
|
@ -306,13 +306,13 @@ function! ale#engine#SetResults(buffer, loclist) abort
|
|||
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
|
||||
|
||||
if l:linting_is_done
|
||||
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
|
||||
|
||||
" Reset the save event marker, used for opening windows, etc.
|
||||
call setbufvar(a:buffer, 'ale_save_event_fired', 0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue