Skip to content

Commit

Permalink
Handle jobstart() returning -1 in the NeoVim 0.2.0, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
w0rp committed Aug 28, 2017
1 parent 908e946 commit 73ec83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ale/job.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73ec83d

Please sign in to comment.