summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-17 21:47:23 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-17 21:47:23 +0200
commit856c1110c1cf0d6e44e387b70732ca4b4c8ef0f2 (patch)
treef5c23b674508b2906a9f4b477283007fddee3582 /runtime
parent40a019f157c549dcdc17c33f082975485567bb06 (diff)
downloadvim-git-856c1110c1cf0d6e44e387b70732ca4b4c8ef0f2.tar.gz
patch 8.2.0997: cannot execute a register containing line continuationv8.2.0997
Problem: Cannot execute a register containing line continuation. Solution: Concatenate lines where needed. (Yegappan Lakshmanan, closes #6272)
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 29cdd73bb..7b0efddbb 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -163,6 +163,11 @@ q Stops recording. (Implementation note: The 'q' that
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.
Future: Will execute the register for each line in the
address range.