diff options
author | w0rp <devw0rp@gmail.com> | 2017-06-06 16:44:01 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-06-06 16:44:01 +0100 |
commit | 3c5156d4a4e700adae32866b5978a941199ade2a (patch) | |
tree | eff82dc1640fe4a5dcc36cea1de131a6b44b3854 /autoload/ale.vim | |
parent | a0e0408ecc39d0fc7b8b66ac39c2dc5e7805e787 (diff) | |
download | ale-3c5156d4a4e700adae32866b5978a941199ade2a.zip |
Simplify job cleanup code
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r-- | autoload/ale.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim index 9751225b..9147b3a5 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -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 |