mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
Try and fix Travis builds again
This commit is contained in:
@@ -17,7 +17,12 @@ function! s:GetJobID(job) abort
|
|||||||
|
|
||||||
" In Vim 8, the job is a special variable, and we open a channel for each
|
" In Vim 8, the job is a special variable, and we open a channel for each
|
||||||
" job. We'll use the ID of the channel instead as the job ID.
|
" job. We'll use the ID of the channel instead as the job ID.
|
||||||
return ch_info(job_getchannel(a:job)).id
|
try
|
||||||
|
return ch_info(job_getchannel(a:job)).id
|
||||||
|
endtry
|
||||||
|
|
||||||
|
" If we fail to get the channel ID for a job, just return a 0 ID.
|
||||||
|
return 0
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ale#engine#InitBufferInfo(buffer) abort
|
function! ale#engine#InitBufferInfo(buffer) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user