Vim 7.3 doesn't need +gui for CSApprox

This commit is contained in:
Matt Wozniski 2010-07-20 01:48:07 -04:00
parent 96e7aebcb7
commit f98bf4acef

View File

@ -56,7 +56,8 @@
" store them if it is not built with +gui. " store them if it is not built with +gui.
if exists('g:CSApprox_loaded') if exists('g:CSApprox_loaded')
finish finish
elseif ! has('gui') elseif !has('gui') && v:version < 703
" Vim versions less than < 7.3.0 need +gui.
" Warn unless the user set g:CSApprox_verbose_level to zero. " Warn unless the user set g:CSApprox_verbose_level to zero.
if get(g:, 'CSApprox_verbose_level', 1) if get(g:, 'CSApprox_verbose_level', 1)
echomsg "CSApprox needs gui support - not loading." echomsg "CSApprox needs gui support - not loading."