aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-05-13 15:20:58 +0200
committerGitHub <noreply@github.com>2022-05-13 15:20:58 +0200
commiteb4b337d9eb8bf15cf0b832f46ea9cff14d6adce (patch)
treeafacbb31b05f04870f0b60a4a223a7f904d903b0 /runtime/doc/eval.txt
parentc196119acbd5de0e9e5fae91db62fc9dfc675f8d (diff)
downloadrneovim-eb4b337d9eb8bf15cf0b832f46ea9cff14d6adce.tar.gz
rneovim-eb4b337d9eb8bf15cf0b832f46ea9cff14d6adce.tar.bz2
rneovim-eb4b337d9eb8bf15cf0b832f46ea9cff14d6adce.zip
vim-patch:partial:3f32a5f1601a (#18555)
Update runtime files and translations https://github.com/vim/vim/commit/3f32a5f1601ab2b0eba0caad00d4c26fb86a02a2 skip eval.txt (requires 8.2.4883)
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 63a5b69070..d1686741b4 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -3137,10 +3137,13 @@ text...
:for {var} in {object} *:for* *E690* *E732*
:endfo[r] *:endfo* *:endfor*
Repeat the commands between `:for` and `:endfor` for
- each item in {object}. {object} can be a |List| or
- a |Blob|. Variable {var} is set to the value of each
- item. When an error is detected for a command inside
- the loop, execution continues after the `endfor`.
+ each item in {object}. {object} can be a |List|,
+ a |Blob| or a |String|.
+
+ Variable {var} is set to the value of each item.
+
+ When an error is detected for a command inside the
+ loop, execution continues after the `endfor`.
Changing {object} inside the loop affects what items
are used. Make a copy if this is unwanted: >
:for item in copy(mylist)