summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-04 10:54:06 +0000
committerw0rp <devw0rp@gmail.com>2017-11-04 10:54:28 +0000
commitd851f399c054d487232294d9f1c3a6974215f4a8 (patch)
treec7c9ca3631be3d9960f3f2a70948f1c4d4be6209
parent9c0a5635df6b3d5241f424ab4bfea2817ba89ddc (diff)
downloadale-d851f399c054d487232294d9f1c3a6974215f4a8.zip
Fix #1058 - Ignore all errors with bad calls to jobstop() in NeoVim
-rw-r--r--autoload/ale/job.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/job.vim b/autoload/ale/job.vim
index 254f4eec..0f6b8577 100644
--- a/autoload/ale/job.vim
+++ b/autoload/ale/job.vim
@@ -290,7 +290,7 @@ function! ale#job#Stop(job_id) abort
" FIXME: NeoVim kills jobs on a timer, but will not kill any processes
" which are child processes on Unix. Some work needs to be done to
" kill child processes to stop long-running processes like pylint.
- call jobstop(a:job_id)
+ silent! call jobstop(a:job_id)
else
let l:job = s:job_map[a:job_id].job