Merge pull request #427 from viszu/master

Make it work with Vim 7.4
This commit is contained in:
Val Markovic 2013-07-06 10:07:27 -07:00
commit 7a13fd8af6

View File

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