The comment for `do_key_input_pre()` function says that it handles the
InsertCharPre autocommand, but what the function actually handles is the
KeyInputPre autocommand.
closes: #20142
Signed-off-by: mityu <mityu.mail@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
#ifdef FEAT_EVAL
/*
- * Handle the InsertCharPre autocommand.
+ * Handle the KeyInputPre autocommand.
* "c" is the character that was typed.
* Return new input character.
*/