From e88eb6c4157a6f5b517588a632c0dae6eb79fcea Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 6 Jun 2017 17:01:17 +0100 Subject: Use BufWinEnter for g:ale_lint_on_enter instead --- plugin/ale.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/ale.vim') diff --git a/plugin/ale.vim b/plugin/ale.vim index 4a3f6522..2bc0c103 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -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 -- cgit v1.2.3