summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale/zmain.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ale/zmain.vim b/plugin/ale/zmain.vim
index e41ff7e6..83bb8109 100644
--- a/plugin/ale/zmain.vim
+++ b/plugin/ale/zmain.vim
@@ -355,7 +355,7 @@ endif
if g:ale_lint_on_enter
augroup ALERunOnEnterGroup
autocmd!
- autocmd BufEnter * call ALELint(20)
+ autocmd BufEnter,BufRead * call ALELint(0)
augroup END
endif