Problem: It is not documented that inside a lambda block the closing "}"
of a dictionary must not be at the start of a line. The note
is only given for a command block, while the restriction is the
same.
Solution: Mention it at |inline-function| and refer to |command-block|.
closes: #20872
fixes: #20693
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
-*vim9.txt* For Vim version 9.2. Last change: 2026 Jul 22
+*vim9.txt* For Vim version 9.2. Last change: 2026 Jul 29
VIM REFERENCE MANUAL by Bram Moolenaar
})
No command can follow the "{", only a comment can be used there.
+Since the block ends at the first line starting with "}", the closing "}" of a
+dictionary inside the block must not be at the start of a line. See
+|command-block| for an example and the workaround.
+
*command-block* *E1026*
The block can also be used for defining a user command. Inside the block Vim9
syntax will be used.