diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-19 11:48:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 03:48:13 +0000 |
commit | 0b710c8e55930a082e030f980f84bd1e71a29592 (patch) | |
tree | 7b226fe651f7a258119ba7466ae67f1bc39c22da /runtime | |
parent | f61efe3fe77c9a517dccb9fd5ff7f16c0660ced4 (diff) | |
download | rneovim-0b710c8e55930a082e030f980f84bd1e71a29592.tar.gz rneovim-0b710c8e55930a082e030f980f84bd1e71a29592.tar.bz2 rneovim-0b710c8e55930a082e030f980f84bd1e71a29592.zip |
vim-patch:9.1.0599: Termdebug: still get E1023 when specifying arguments (#29794)
Problem: Termdebug: still get E1023 when specifying arguments and using
a prompt buffer.
Solution: Use empty() instead of len(). Add a test. Fix wrong order of
arguments to assert_equal() in Test_termdebug_basic().
(zeertzjq)
closes: vim/vim#15288
https://github.com/vim/vim/commit/aef6179bcf04918002103528651996c754c03840
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 2 |
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 |