diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-10 19:56:05 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-10 19:56:05 +0100 |
commit | e9ad21b679219c89ce5eb4c1300a9ab1d7b5bd07 (patch) | |
tree | a66efc30b05d5ca6626da6ef9da3422189348d53 /plugin | |
parent | 7f0ce89d2b574fd5bdd0c050eaad92deeb63086d (diff) | |
download | ale-e9ad21b679219c89ce5eb4c1300a9ab1d7b5bd07.zip |
Fix cursor bugs.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 7 |
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) |