nvim: Enable job-control nvim 0.2+ (#617)

Closes #583
References https://github.com/neovim/neovim/pull/6497
This commit is contained in:
Justin M. Keyes 2017-04-12 04:10:09 +02:00 committed by Junegunn Choi
parent 46ae29985d
commit 580f0a559c

View File

@ -97,7 +97,7 @@ let s:plug_tab = get(s:, 'plug_tab', -1)
let s:plug_buf = get(s:, 'plug_buf', -1)
let s:mac_gui = has('gui_macvim') && has('gui_running')
let s:is_win = has('win32') || has('win64')
let s:nvim = has('nvim') && exists('*jobwait') && !s:is_win
let s:nvim = has('nvim-0.2') || (has('nvim') && exists('*jobwait') && !s:is_win)
let s:vim8 = has('patch-8.0.0039') && exists('*job_start')
let s:me = resolve(expand('<sfile>:p'))
let s:base_spec = { 'branch': 'master', 'frozen': 0 }