summaryrefslogtreecommitdiff
path: root/autoload/ale/engine.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/engine.vim')
-rw-r--r--autoload/ale/engine.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim
index ae0354b8..63195d0f 100644
--- a/autoload/ale/engine.vim
+++ b/autoload/ale/engine.vim
@@ -458,6 +458,10 @@ function! s:StopCurrentJobs(buffer, clear_lint_file_jobs) abort
endif
endfunction
+function! ale#engine#Stop(buffer) abort
+ call s:StopCurrentJobs(a:buffer, 1)
+endfunction
+
function! s:RemoveProblemsForDisabledLinters(buffer, linters) abort
" Figure out which linters are still enabled, and remove
" problems for linters which are no longer enabled.