Restore neovim support

This commit is contained in:
Boris Staletic 2019-01-23 00:41:03 +01:00
parent b26ba2681e
commit 63bcaf30f0

View File

@ -54,7 +54,8 @@ elseif !has( 'timers' )
\ echohl None
call s:restore_cpo()
finish
elseif !has( 'python_compiled' ) && !has( 'python3_compiled' )
elseif ( v:version > 800 || ( v:version == 800 && has( 'patch1436' ) ) ) &&
\ !has( 'python_compiled' ) && !has( 'python3_compiled' )
echohl WarningMsg |
\ echomsg "YouCompleteMe unavailable: requires Vim compiled with " .
\ "Python (2.7.1+ or 3.4+) support." |