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:
parent
6e178a6dd1
commit
a37434ab5d
@ -130,12 +130,8 @@ let g:loaded_gnupg = "$Revision$"
|
|||||||
let s:GPGInitRun = 0
|
let s:GPGInitRun = 0
|
||||||
|
|
||||||
" check for correct vim version {{{2
|
" check for correct vim version {{{2
|
||||||
if (v:version < 700)
|
if (v:version < 702)
|
||||||
echohl ErrorMsg | echo 'plugin gnupg.vim requires Vim version >= 7.0' | echohl None
|
echohl ErrorMsg | echo 'plugin gnupg.vim requires Vim version >= 7.2' | 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
|
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user