From a5ec5366c402d1070027559289c8915601e9d2ec Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 13 Feb 2017 12:13:54 +0000 Subject: Actually catch all Job ID problems --- autoload/ale/engine.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'autoload') diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index ed7b933a..5337fc2d 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -19,6 +19,7 @@ function! s:GetJobID(job) abort " job. We'll use the ID of the channel instead as the job ID. try return ch_info(job_getchannel(a:job)).id + catch endtry " If we fail to get the channel ID for a job, just return a 0 ID. -- cgit v1.2.3