diff options
author | w0rp <devw0rp@gmail.com> | 2019-06-10 20:54:38 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-06-10 20:54:38 +0100 |
commit | 168768b32667b244e0afdc8da851d91ab95d6e2f (patch) | |
tree | 61c022da7b2584ac9b4a405ba201ed01200dd99d /autoload | |
parent | 8b46fa3ee716485b4dd7c3f86c9302a140be6bfa (diff) | |
download | ale-168768b32667b244e0afdc8da851d91ab95d6e2f.zip |
Lint on InsertLeave, not in insert mode by default
b:ale_lint_on_insert_leave is now supported as tests need it.
These defaults are saner and cause fewer issues for users by default.
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/events.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/events.vim b/autoload/ale/events.vim index c3dbd378..da554ef9 100644 --- a/autoload/ale/events.vim +++ b/autoload/ale/events.vim @@ -128,7 +128,7 @@ function! ale#events#Init() abort endif if g:ale_lint_on_insert_leave - autocmd InsertLeave * call ale#Queue(0) + autocmd InsertLeave * if ale#Var(str2nr(expand('<abuf>')), 'lint_on_insert_leave') | call ale#Queue(0) | endif endif if g:ale_echo_cursor || g:ale_cursor_detail |