aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 6227a20e3c..9412a821e8 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -518,7 +518,7 @@ func s:StartDebug_prompt(dict)
call s:SendCommand('set breakpoint pending on')
" Set arguments to be run
- if len(proc_args)
+ if !empty(proc_args)
call s:SendCommand($'set args {join(proc_args)}')
endif