summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-28 15:25:18 +0100
committerw0rp <devw0rp@gmail.com>2017-08-28 15:25:18 +0100
commit73ec83d055a62019c41e699981e841e395219cca (patch)
tree87b8e4f218c097d9651ce50cd8ac57fef699c919
parent908e94622ecb3df49a6a16fb3e47227764672be5 (diff)
downloadale-1.5.0.zip
Handle jobstart() returning -1 in the NeoVim 0.2.0, just in casev1.5.0
-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 a52e57bc..1d8b6760 100644
--- a/autoload/ale/job.vim
+++ b/autoload/ale/job.vim
@@ -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