aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-06-25 21:56:51 +0200
committerGitHub <noreply@github.com>2022-06-25 21:56:51 +0200
commit42e87743170d33133555252f20a72b4fb7f4fd42 (patch)
tree01fdd6fd17d143a53170207c344af34b8c1c288d
parent69e7b664d817e68210718d79158937297bb3f3f9 (diff)
downloadrneovim-42e87743170d33133555252f20a72b4fb7f4fd42.tar.gz
rneovim-42e87743170d33133555252f20a72b4fb7f4fd42.tar.bz2
rneovim-42e87743170d33133555252f20a72b4fb7f4fd42.zip
vim-patch:e1dc76fbf333 (#19092)
Update runtime files https://github.com/vim/vim/commit/e1dc76fbf333243ecfdfc3c0a81ea9984913b4f5
-rw-r--r--runtime/doc/various.txt6
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim3
2 files changed, 7 insertions, 2 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 562faeaa2c..9eb6470962 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -346,7 +346,11 @@ g8 Print the hex values of the bytes used in the
Only string variables can be used. After the
redirection starts, if the variable is removed or
locked or the variable type is changed, then further
- command output messages will cause errors.
+ command output messages will cause errors. When using
+ a local variable (l:var in a function or s:var in a
+ script) and another `:redir` causes the current one to
+ end, the scope might be different and the assignment
+ fails.
To get the output of one command the |execute()|
function can be used instead of redirection.
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index f76bdebe9b..c4e90eb373 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -2,7 +2,7 @@
"
" Author: Bram Moolenaar
" Copyright: Vim license applies, see ":help license"
-" Last Change: 2022 Jun 22
+" Last Change: 2022 Jun 24
"
" WORK IN PROGRESS - The basics works stable, more to come
" Note: In general you need at least GDB 7.12 because this provides the
@@ -539,6 +539,7 @@ func TermDebugSendCommand(cmd)
endif
sleep 10m
endif
+ " TODO: should we prepend CTRL-U to clear the command?
call chansend(s:gdb_job_id, a:cmd . "\r")
if do_continue
Continue