Simplify job cleanup code

This commit is contained in:
w0rp
2017-06-06 16:44:01 +01:00
parent a0e0408ecc
commit 3c5156d4a4
4 changed files with 33 additions and 47 deletions

View File

@@ -104,6 +104,8 @@ function! ale#Lint(...) abort
call filter(l:linters, '!v:val.lint_file')
endif
call ale#engine#StopCurrentJobs(l:buffer, l:should_lint_file)
for l:linter in l:linters
call ale#engine#Invoke(l:buffer, l:linter)
endfor