Require Vim 7.4 in preparation of removal of compatibility features.

This commit is contained in:
Holger Rapp 2015-06-11 07:53:47 +02:00
parent de70b1ed5d
commit c3a0924b77
3 changed files with 11 additions and 5 deletions

View File

@ -4,7 +4,7 @@
" Supertab) " Supertab)
" Last Modified: July 27, 2009 " Last Modified: July 27, 2009
if exists('did_UltiSnips_after') || &cp || version < 700 if exists('did_UltiSnips_after') || &cp || version < 704
finish finish
endif endif

View File

@ -2,7 +2,7 @@
" Author: Holger Rapp <SirVer@gmx.de> " Author: Holger Rapp <SirVer@gmx.de>
" Description: The Ultimate Snippets solution for Vim " Description: The Ultimate Snippets solution for Vim
if exists('did_UltiSnips_autoload') || &cp || version < 700 if exists('did_UltiSnips_autoload') || &cp || version < 704
finish finish
endif endif
let did_UltiSnips_autoload=1 let did_UltiSnips_autoload=1

View File

@ -6,7 +6,15 @@
" See directions at the top of the test.py script located one " See directions at the top of the test.py script located one
" directory above this file. " directory above this file.
if exists('did_UltiSnips_plugin') || &cp || version < 700 if exists('did_UltiSnips_plugin') || &cp
finish
endif
let did_UltiSnips_plugin=1
if version < 704
echohl WarningMsg
echom "UltiSnips requires Vim >= 7.4"
echohl None
finish finish
endif endif
@ -71,6 +79,4 @@ augroup END
call UltiSnips#map_keys#MapKeys() call UltiSnips#map_keys#MapKeys()
let did_UltiSnips_plugin=1
" vim: ts=8 sts=4 sw=4 " vim: ts=8 sts=4 sw=4