Do not check files on insert leave
This commit is contained in:
parent
dcbab18a35
commit
1a62e95733
@ -234,7 +234,7 @@ function! ALEInitAuGroups() abort
|
|||||||
augroup ALERunOnInsertLeave
|
augroup ALERunOnInsertLeave
|
||||||
autocmd!
|
autocmd!
|
||||||
if g:ale_enabled && g:ale_lint_on_insert_leave
|
if g:ale_enabled && g:ale_lint_on_insert_leave
|
||||||
autocmd InsertLeave * call ale#Queue(0, 'lint_file')
|
autocmd InsertLeave * call ale#Queue(0)
|
||||||
endif
|
endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ Execute (g:ale_lint_on_insert_leave = 1 should bind InsertLeave):
|
|||||||
let g:ale_lint_on_insert_leave = 1
|
let g:ale_lint_on_insert_leave = 1
|
||||||
|
|
||||||
AssertEqual [
|
AssertEqual [
|
||||||
\ 'InsertLeave * call ale#Queue(0, ''lint_file'')',
|
\ 'InsertLeave * call ale#Queue(0)',
|
||||||
\], CheckAutocmd('ALERunOnInsertLeave')
|
\], CheckAutocmd('ALERunOnInsertLeave')
|
||||||
|
|
||||||
Execute (g:ale_lint_on_insert_leave = 0 should bind no events):
|
Execute (g:ale_lint_on_insert_leave = 0 should bind no events):
|
||||||
|
Loading…
Reference in New Issue
Block a user