summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-06 11:02:00 +0100
committerw0rp <devw0rp@gmail.com>2016-10-06 11:02:43 +0100
commit478c32f85d735dc23fa6b497d4ff9f6b6ac57ad1 (patch)
treeac08aceaf05b9242fc6522321fbaf732fbe21e7e /plugin
parent514f088d2cb3f79417f1204c36c0d4f292e06c32 (diff)
downloadale-478c32f85d735dc23fa6b497d4ff9f6b6ac57ad1.zip
Fix #42, where some linting isn't run when opening some files.
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