Check for Vim 7.3+.
fixes issue 13
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Wed, 20 Oct 2010 18:55:09 -0400 | 
    
    
        | parents | d7bc85ee64e4 | 
    
        | children | 00a7b7471c1c | 
    
        | branches/tags | (none) | 
    
        | files | plugin/gundo.vim | 
Changes
    
--- a/plugin/gundo.vim	Wed Oct 20 18:43:43 2010 -0400
+++ b/plugin/gundo.vim	Wed Oct 20 18:55:09 2010 -0400
@@ -16,7 +16,14 @@
 
 let loaded_gundo = 1
 
-let s:warning_string = "Gundo requires that Vim be compiled with Python 2.4+"
+let s:vim_warning_string = "Gundo requires Vim 7.3+"
+let s:python_warning_string = "Gundo requires that Vim be compiled with Python 2.4+"
+
+" Check for Vim required version
+if v:version < '703'
+    echo s:vim_warning_string
+    finish
+endif
 
 " Check for Python support and required version
 if has('python')
@@ -31,8 +38,8 @@
 
     " Python version is too old
     if !s:has_supported_python
-        echo s:warning_string
-        finish                                                                                                          
+        echo s:python_warning_string
+        finish
     endif
 else
     " no Python support