]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): improve typedchar documentation for KeyInputPre autocmd
authorShougo Matsushita <Shougo.Matsu@gmail.com>
Sun, 18 Aug 2024 14:57:04 +0000 (16:57 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 18 Aug 2024 14:57:04 +0000 (16:57 +0200)
closes: #15521

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
runtime/doc/autocmd.txt

index 9c4e87013c70637b996b1c60fd7c9664b12accc5..f200a30e5025bdd58daf000e92eb6ab967c824b1 100644 (file)
@@ -1,4 +1,4 @@
-*autocmd.txt*   For Vim version 9.1.  Last change: 2024 Aug 12
+*autocmd.txt*   For Vim version 9.1.  Last change: 2024 Aug 18
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -992,7 +992,10 @@ KeyInputPre                        Just before a key is processed after mappings
                                character is used.
                                The following values of |v:event| are set:
                                   typed        The key is typed or not.
-                                  typedchar    The (actual) typed key.
+                                  typedchar    The (actual) typed key since
+                                               the last |KeyInputPre| call.
+                               Note: "typedchar" may be empty if successive
+                               |KeyInputPre| autocmds are processed.
                                It is not allowed to change the text
                                |textlock| or the current mode.
                                {only with the +eval feature}