From e9ad21b679219c89ce5eb4c1300a9ab1d7b5bd07 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 10 Oct 2016 19:56:05 +0100 Subject: Fix cursor bugs. --- plugin/ale.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugin') diff --git a/plugin/ale.vim b/plugin/ale.vim index 3982ee69..c7096dbc 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -105,6 +105,13 @@ let g:ale_buffer_loclist_map = {} let g:ale_buffer_should_reset_map = {} let g:ale_buffer_sign_dummy_map = {} +if g:ale_echo_cursor + augroup ALECursorGroup + autocmd! + autocmd CursorMoved,CursorHold * call ale#cursor#EchoCursorWarningWithDelay() + augroup END +endif + " Backwards compatibility function! ALELint(delay) call ale#Queue(a:delay) -- cgit v1.2.3