diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-05 20:40:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-05 20:40:03 +0200 |
commit | 63b9173693015b135aad8e3657bef5e7f776787e (patch) | |
tree | 562fd413b11ae6a4c45f39538b89ec881aebf2cb /runtime/doc | |
parent | af647e76cacc60d3cfc5df3ff5b3d9d4b69b519d (diff) |
patch 8.2.3297: cannot use all commands inside a {} blockv8.2.3297
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/map.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index a10c85b7af..57239923a4 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1580,8 +1580,11 @@ Example: > 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 |