From 63bcaf30f0a6c0346576e0ce6c5d0e4c1f66c267 Mon Sep 17 00:00:00 2001 From: Boris Staletic Date: Wed, 23 Jan 2019 00:41:03 +0100 Subject: [PATCH] Restore neovim support --- plugin/youcompleteme.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim index 1f77e050..54ae050d 100644 --- a/plugin/youcompleteme.vim +++ b/plugin/youcompleteme.vim @@ -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." |