Do not check files on insert leave

This commit is contained in:
w0rp
2017-06-05 13:55:18 +01:00
parent dcbab18a35
commit 1a62e95733
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ Execute (g:ale_lint_on_insert_leave = 1 should bind InsertLeave):
let g:ale_lint_on_insert_leave = 1
AssertEqual [
\ 'InsertLeave * call ale#Queue(0, ''lint_file'')',
\ 'InsertLeave * call ale#Queue(0)',
\], CheckAutocmd('ALERunOnInsertLeave')
Execute (g:ale_lint_on_insert_leave = 0 should bind no events):