Handle jobstart() returning -1 in the NeoVim 0.2.0, just in case
This commit is contained in:
parent
908e94622e
commit
73ec83d055
@ -244,7 +244,7 @@ function! ale#job#Start(command, options) abort
|
||||
let l:job_id = ale#job#ParseVim8ProcessID(string(l:job_info.job))
|
||||
endif
|
||||
|
||||
if l:job_id
|
||||
if l:job_id > 0
|
||||
" Store the job in the map for later only if we can get the ID.
|
||||
let s:job_map[l:job_id] = l:job_info
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user