runtime(doc): improve typedchar documentation for KeyInputPre autocmd
Commit:
https://github.com/vim/vim/commit/890f97ce57ed90d55a87ff1b88914922cda8f016
Author: Shougo Matsushita <[email protected]>
Date: Sun Aug 18 16:57:04 2024 +0200
runtime(doc): improve typedchar documentation for KeyInputPre autocmd
closes: https://github.com/vim/vim/issues/15521
Signed-off-by: Christian Brabandt <[email protected]>
Signed-off-by: Shougo Matsushita <[email protected]>
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 9c4e87013..f200a30e5 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -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}
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1sfhO3-009laY-93%40256bit.org.