diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-10 13:13:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-10 13:13:14 +0100 |
commit | 71b6d3397649fed68ef587aa863fcbdf5fdb057a (patch) | |
tree | fe1de667a3a2f1a69ad6533ab87be8e8c5c33273 /runtime/doc/eval.txt | |
parent | 2da11a4124989e3be917fa8024025d2e1452b363 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 741f70ad64..e99e9baa0a 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 9.0. Last change: 2022 Jun 17 +*eval.txt* For Vim version 9.0. Last change: 2022 Sep 09 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1718,6 +1718,9 @@ Recommendation: don't do this. Notice how execute() is used to execute an Ex command. That's ugly though. In Vim9 script you can use a command block, see |inline-function|. +Although you can use the loop variable of a `for` command, it must still exist +when the closure is called, otherwise you get an error. *E1302* + Lambda expressions have internal names like '<lambda>42'. If you get an error for a lambda expression, you can find what it is with the following command: > :function <lambda>42 @@ -3397,7 +3400,8 @@ text... it will show for three seconds and avoid a |hit-enter| prompt. If you want to hide it before that, press Esc in Normal mode (when it would - otherwise beep). + otherwise beep). If it disappears too soon you can + use `:messages` to see the text. The message window is available when Vim was compiled with the +timer and the +popupwin features. |