only load python in vimrc when opening c,cpp files
[pygdb.git] / pygdb.vim
index 7a8b89f45901be31ed691ac53b268cb84ef0022d..642b327f7c5d545bc5c1d431d395d88ce1967f50 100644 (file)
--- a/pygdb.vim
+++ b/pygdb.vim
@@ -1,4 +1,11 @@
-"shuber, 2008-06-08
+"pygdb.vim - pygtk interface to gdb in connection with (g)vim
+" Maintainer: Stefan Huber <shuber@cosy.sbg.ac.at>
+
+
+if !has('python')
+       echo "Error: Required vim compiled with +python"
+       finish
+endif
 
 if ! exists("g:pygdb")