summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim2
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