summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-06 17:01:17 +0100
committerw0rp <devw0rp@gmail.com>2017-06-06 17:01:17 +0100
commite88eb6c4157a6f5b517588a632c0dae6eb79fcea (patch)
tree6c9a0a45038a72cf06e77b9088cfb8cd500d6b8b /plugin/ale.vim
parent3c5156d4a4e700adae32866b5978a941199ade2a (diff)
downloadale-e88eb6c4157a6f5b517588a632c0dae6eb79fcea.zip
Use BufWinEnter for g:ale_lint_on_enter instead
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim2
1 files changed, 1 insertions, 1 deletions
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