diff --git a/plugin/vdebug.vim b/plugin/vdebug.vim index 9c0c09e0..96d04cec 100644 --- a/plugin/vdebug.vim +++ b/plugin/vdebug.vim @@ -18,6 +18,17 @@ "============================================================================= " }}} +" Sanity Checks + +if exists('g:is_vdebug_loaded') + finish +endif + +" Set a special flag used only by this plugin for preventing doubly +" loading the script. +let g:is_vdebug_loaded = 1 + + " Do not source this script when python is not compiled in. if !has("python") finish