From f98bf4acef9d9aa5e7f5b42eba09e259908f639b Mon Sep 17 00:00:00 2001 From: Matt Wozniski Date: Tue, 20 Jul 2010 01:48:07 -0400 Subject: [PATCH] Vim 7.3 doesn't need +gui for CSApprox --- plugin/CSApprox.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/CSApprox.vim b/plugin/CSApprox.vim index 4ed336b..bc37019 100644 --- a/plugin/CSApprox.vim +++ b/plugin/CSApprox.vim @@ -56,7 +56,8 @@ " store them if it is not built with +gui. if exists('g:CSApprox_loaded') 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. if get(g:, 'CSApprox_verbose_level', 1) echomsg "CSApprox needs gui support - not loading."