Skip to content

Instantly share code, notes, and snippets.

@apiarian
Last active December 4, 2015 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apiarian/8f59b92fa084929ee01b to your computer and use it in GitHub Desktop.
Save apiarian/8f59b92fa084929ee01b to your computer and use it in GitHub Desktop.
--- 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