mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mapping
Problem: Vim9: cannot use Vim9 syntax in mapping. Solution: Add <ScriptCmd> to use the script context for a command.
This commit is contained in:
@@ -2229,7 +2229,8 @@ send_keys_to_term(term_T *term, int c, int modmask, int typed)
|
||||
break;
|
||||
|
||||
case K_COMMAND:
|
||||
return do_cmdline(NULL, getcmdkeycmd, NULL, 0);
|
||||
case K_SCRIPT_COMMAND:
|
||||
return do_cmdkey_command(c, 0);
|
||||
}
|
||||
if (typed)
|
||||
mouse_was_outside = FALSE;
|
||||
|
Reference in New Issue
Block a user