Last active
December 4, 2015 20:53
-
-
Save apiarian/8f59b92fa084929ee01b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- VimDebug.vim 2013-05-25 22:57:31.000000000 +0000 | |
+++ ~/.vim/plugin/VimDebug.vim 2015-12-04 20:46:43.000000000 +0000 | |
@@ -8,10 +8,15 @@ | |
if (!has('perl') || !has('signs')) | |
echo "VimDebug requires +perl and +signs" | |
finish | |
endif | |
+perl eval 'use Vim::Debug'; $r=$@?0:1; VIM::DoCommand("let foundVimDebug = $r"); | |
+if (foundVimDebug == 0) | |
+ finish | |
+endif | |
+ | |
" -------------------------------------------------------------------- | |
" Configuration variables. | |
" Make sure all the values remain coherent if you change any. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment