feat(api): add replace_keycodes to nvim_set_keymap (#19598)

This commit is contained in:
ii14
2022-08-01 15:35:08 +02:00
committed by GitHub
parent 9f5d5aa3da
commit db6e93c48d
9 changed files with 56 additions and 29 deletions

View File

@@ -21,6 +21,7 @@ struct map_arguments {
bool script;
bool silent;
bool unique;
bool replace_keycodes;
/// The {lhs} of the mapping.
///
@@ -44,7 +45,7 @@ struct map_arguments {
char *desc; /// map description
};
typedef struct map_arguments MapArguments;
#define MAP_ARGUMENTS_INIT { false, false, false, false, false, false, false, \
#define MAP_ARGUMENTS_INIT { false, false, false, false, false, false, false, false, \
{ 0 }, 0, { 0 }, 0, NULL, 0, LUA_NOREF, false, NULL, 0, NULL }
#ifdef INCLUDE_GENERATED_DECLARATIONS