patch 8.2.3297: cannot use all commands inside a {} block
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620)
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index a10c85b..5723992 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1580,8 +1580,11 @@
echo 'hello'
g:calledMyCommand = true
}
-No nesting is supported, inline functions cannot be used. Using `:normal`
-directly does not work, you can use it indirectly with `:execute`.
+< *E1231*
+There must be white space before the "{". No nesting is supported, inline
+functions cannot be used. Commands where a "|" may appear in the argument,
+such as commands with an expression argument, cannot be followed by a "|" and
+another command.
The replacement text {repl} for a user defined command is scanned for special
escape sequences, using <...> notation. Escape sequences are replaced with