1
0
forked from aniani/vim

patch 9.0.1516: cannot use special keys in <Cmd> mapping

Problem:    Cannot use special keys in <Cmd> mapping.
Solution:   Do allow for special keys in <Cmd> and <ScriptCmd> mappings.
            (closes #12326)
This commit is contained in:
zeertzjq
2023-05-06 16:22:04 +01:00
committed by Bram Moolenaar
parent 03ff1c2dde
commit 3ab3a86481
7 changed files with 61 additions and 34 deletions

View File

@@ -2894,8 +2894,7 @@ EXTERN char e_using_string_as_bool_str[]
#endif
EXTERN char e_cmd_mapping_must_end_with_cr_before_second_cmd[]
INIT(= N_("E1136: <Cmd> mapping must end with <CR> before second <Cmd>"));
EXTERN char e_cmd_mapping_must_not_include_str_key[]
INIT(= N_("E1137: <Cmd> mapping must not include %s key"));
// E1137 unused
#ifdef FEAT_EVAL
EXTERN char e_using_bool_as_number[]
INIT(= N_("E1138: Using a Bool as a Number"));