Add version check for Vim 7.4

This commit is contained in:
viszu 2013-07-06 17:34:13 +02:00
parent cbc6c07a1a
commit eecbbb00bd

View File

@ -21,11 +21,13 @@ set cpo&vim
if exists( "g:loaded_youcompleteme" )
finish
elseif v:version < 703 || !has( 'patch584' )
elseif v:version < 704
if v:version < 703 || !has( 'patch584' )
echohl WarningMsg |
\ echomsg "YouCompleteMe unavailable: requires Vim 7.3.584+" |
\ echohl None
finish
endif
elseif !has( 'python' )
echohl WarningMsg |
\ echomsg "YouCompleteMe unavailable: requires python 2.x" |