mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-04 11:22:50 +08:00
#333 Pass in a flag indicating that linters should be run against files, and clear more jobs
This commit is contained in:
1 parent
790c614b7a
commit
e7d32fe376
4 files changed
+34
-17
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user