From f029fbcf8b771724bb45d850f6585abd864dd784 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 2 Apr 2008 09:22:05 +0000 Subject: [PATCH] No VimPdb if no python git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@157 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69 --- vimfiles/plugin/VimPdb.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimfiles/plugin/VimPdb.vim b/vimfiles/plugin/VimPdb.vim index 8eb73d9..e7ca786 100644 --- a/vimfiles/plugin/VimPdb.vim +++ b/vimfiles/plugin/VimPdb.vim @@ -14,6 +14,10 @@ " Initialization code " " +if !has('python') + map :echoerr 'No python -> no debugger ...' + finish +endif let current_dir = expand(":h") python import sys