Mercurial > vim
diff src/proto/getchar.pro @ 30102:539fb427124d v9.0.0387
patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context
Commit: https://github.com/vim/vim/commit/ddf7dba96e05a41c7a228b153146237e0a21b146
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 5 16:53:21 2022 +0100
patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context
Problem: repeating a <ScriptCmd> mapping does not use the right script
context.
Solution: When using a mapping put <SID>{sid}; in the redo buffer.
(closes #11049)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Sep 2022 18:00:05 +0200 |
parents | f103da6ba95f |
children | ffbae151e462 |
line wrap: on
line diff
--- a/src/proto/getchar.pro +++ b/src/proto/getchar.pro @@ -52,6 +52,7 @@ void parse_queued_messages(void); void vungetc(int c); int fix_input_buffer(char_u *buf, int len); int input_available(void); +void may_add_last_used_map_to_redobuff(void); int do_cmdkey_command(int key, int flags); void reset_last_used_map(mapblock_T *mp); /* vim: set ft=c : */