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 <buffer> <silent> <F5> :echoerr 'No python -> no debugger ...'<CR> + finish +endif let current_dir = expand("<sfile>:h") python import sys