diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-15 18:26:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-15 18:26:04 +0000 |
commit | e32c3c462ce9b3163a4a4bffd985897910885d29 (patch) | |
tree | 92ade56bf13a5d7fe440e20f3e35e57250f19b29 /src/proto/getchar.pro | |
parent | 069613c9e8645acea3a128c15ebdbf56e2219d44 (diff) |
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mappingv8.2.4099
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
Diffstat (limited to 'src/proto/getchar.pro')
-rw-r--r-- | src/proto/getchar.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro index 9745ddfd85..2d791e5c48 100644 --- a/src/proto/getchar.pro +++ b/src/proto/getchar.pro @@ -52,5 +52,6 @@ void parse_queued_messages(void); void vungetc(int c); int fix_input_buffer(char_u *buf, int len); int input_available(void); -char_u *getcmdkeycmd(int promptc, void *cookie, int indent, getline_opt_T do_concat); +int do_cmdkey_command(int key, int flags); +void reset_last_used_map(void); /* vim: set ft=c : */ |