aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-23 15:56:37 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-03-09 06:25:31 +0800
commit165cf1b48e4505b2b8aa9ff0522c9176a073b7ea (patch)
tree0617dee3a568cb5e03de828b494c5571fabe9442 /runtime
parentf24121ad96d7f560a36f0d977766d4e8232fbda6 (diff)
downloadrneovim-165cf1b48e4505b2b8aa9ff0522c9176a073b7ea.tar.gz
rneovim-165cf1b48e4505b2b8aa9ff0522c9176a073b7ea.tar.bz2
rneovim-165cf1b48e4505b2b8aa9ff0522c9176a073b7ea.zip
vim-patch:8.2.0997: cannot execute a register containing line continuation
Problem: Cannot execute a register containing line continuation. Solution: Concatenate lines where needed. (Yegappan Lakshmanan, closes vim/vim#6272) https://github.com/vim/vim/commit/856c1110c1cf0d6e44e387b70732ca4b4c8ef0f2 According to #2542 the "Future:" part was removed intentionally. Use size_t in more places to reduce type casts.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/repeat.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 05529dc90a..994f97bba0 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -161,6 +161,11 @@ Q Repeat the last recorded register [count] times.
result of evaluating the expression is executed as an
Ex command.
Mappings are not recognized in these commands.
+ When the |line-continuation| character (\) is present
+ at the beginning of a line in a linewise register,
+ then it is combined with the previous line. This is
+ useful for yanking and executing parts of a Vim
+ script.
*:@:*
:[addr]@: Repeat last command-line. First set cursor at line