Bump minimum Vim version to 7.2

The two argument form of shellescape() is now being used, and that was
introduced in the pre-releases of 7.2.

Signed-off-by: James Vega <vega.james@gmail.com>
This commit is contained in:
James Vega 2011-05-24 01:16:05 -04:00 committed by James McCoy
parent 6e178a6dd1
commit a37434ab5d

View File

@ -130,12 +130,8 @@ let g:loaded_gnupg = "$Revision$"
let s:GPGInitRun = 0
" check for correct vim version {{{2
if (v:version < 700)
echohl ErrorMsg | echo 'plugin gnupg.vim requires Vim version >= 7.0' | echohl None
finish
endif
if !(exists("*shellescape") && exists("*fnameescape"))
echohl ErrorMsg | echo 'plugin gnupg.vim requires Vim with the shellescape() and fnameescape() functions' | echohl None
if (v:version < 702)
echohl ErrorMsg | echo 'plugin gnupg.vim requires Vim version >= 7.2' | echohl None
finish
endif