summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-14 23:51:57 +0000
committerw0rp <devw0rp@gmail.com>2017-03-14 23:51:57 +0000
commite7d32fe37677636a0be087163c1efa7d0ba10d47 (patch)
treea605ebb4cf464fc6b797942ec9a1d452d4bd6918 /plugin/ale.vim
parent790c614b7a2360446aee6e003e3e834d21b2f04b (diff)
downloadale-e7d32fe37677636a0be087163c1efa7d0ba10d47.zip
#333 Pass in a flag indicating that linters should be run against files, and clear more jobs
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 8fa0093c..84f57dbd 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -157,14 +157,14 @@ function! s:ALEInitAuGroups() abort
augroup ALERunOnEnterGroup
autocmd!
if g:ale_enabled && g:ale_lint_on_enter
- autocmd BufEnter,BufRead * call ale#Queue(300)
+ autocmd BufEnter,BufRead * call ale#Queue(300, 1)
endif
augroup END
augroup ALERunOnSaveGroup
autocmd!
if g:ale_enabled && g:ale_lint_on_save
- autocmd BufWrite * call ale#Queue(0)
+ autocmd BufWrite * call ale#Queue(0, 1)
endif
augroup END