aboutsummaryrefslogtreecommitdiff
path: root/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/pack/dist/opt/termdebug/plugin/termdebug.vim')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 97fadf695a..b002cad4c6 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -10,6 +10,11 @@
" Author: Bram Moolenaar
" Copyright: Vim license applies
+" In case this gets loaded twice.
+if exists(':Termdebug')
+ finish
+endif
+
command -nargs=* -complete=file Termdebug call s:StartDebug(<q-args>)
if !exists('debugger')