summaryrefslogtreecommitdiffstats
path: root/runtime/doc/map.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-01 14:52:32 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-01 14:52:32 +0200
commit73b8b0ae3acac220e823076f8ca1c14524ed96dd (patch)
tree0b9157946ccfc3a56e621e7e271c97207817a801 /runtime/doc/map.txt
parent6db660bed9ed5063f8c6e0fadeef32d44bbd017d (diff)
patch 8.2.3268: cannot use a block with :autocmd like with :commandv8.2.3268
Problem: Cannot use a block with :autocmd like with :command. Solution: Add support for a {} block after :autocmd. (closes #8620)
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r--runtime/doc/map.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 505f815224..a10c85b7af 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 8.2. Last change: 2021 Jul 28
+*map.txt* For Vim version 8.2. Last change: 2021 Aug 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1571,7 +1571,7 @@ feature. Use the full name for new scripts.
Replacement text ~
-
+ *:command-repl*
The {repl} argument is normally one long string, possibly with "|" separated
commands. A special case is when the argument is "{", then the following
lines, up to a line starting with "}" are used and |Vim9| syntax applies.
@@ -1580,8 +1580,8 @@ Example: >
echo 'hello'
g:calledMyCommand = true
}
-No nesting is supported. Using `:normal` directly does not work, you can use
-it indirectly with `:execute`.
+No nesting is supported, inline functions cannot be used. Using `:normal`
+directly does not work, you can use it indirectly with `:execute`.
The replacement text {repl} for a user defined command is scanned for special
escape sequences, using <...> notation. Escape sequences are replaced with