summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim7
1 files changed, 7 insertions, 0 deletions
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)