Fix cursor bugs.

This commit is contained in:
w0rp
2016-10-10 19:56:05 +01:00
parent 7f0ce89d2b
commit e9ad21b679
3 changed files with 11 additions and 7 deletions

View File

@@ -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)