Use BufWinEnter for g:ale_lint_on_enter instead

This commit is contained in:
w0rp committed 2017-06-06 17:01:17 +01:00
1 parent 3c5156d4a4
commit e88eb6c415
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -205,7 +205,7 @@ function! ALEInitAuGroups() abort
augroup ALERunOnEnterGroup
autocmd!
if g:ale_enabled && g:ale_lint_on_enter
autocmd BufEnter,BufRead * call ale#Queue(300, 'lint_file')
autocmd BufWinEnter,BufRead * call ale#Queue(300, 'lint_file')
endif
augroup END