Use BufWinEnter for g:ale_lint_on_enter instead
This commit is contained in:
parent
3c5156d4a4
commit
e88eb6c415
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue