diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2022-08-01 15:35:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 21:35:08 +0800 |
commit | db6e93c48df551e2906c9e0f4472f9e54cea3dd9 (patch) | |
tree | a62b94332e6f23a49adce724759a4c23edf7cf03 /src/nvim/mapping.h | |
parent | 9f5d5aa3da30aab40bbb38fddfc70257444d50a8 (diff) | |
download | rneovim-db6e93c48df551e2906c9e0f4472f9e54cea3dd9.tar.gz rneovim-db6e93c48df551e2906c9e0f4472f9e54cea3dd9.tar.bz2 rneovim-db6e93c48df551e2906c9e0f4472f9e54cea3dd9.zip |
feat(api): add replace_keycodes to nvim_set_keymap (#19598)
Diffstat (limited to 'src/nvim/mapping.h')
-rw-r--r-- | src/nvim/mapping.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/mapping.h b/src/nvim/mapping.h index b19131a686..98d0074075 100644 --- a/src/nvim/mapping.h +++ b/src/nvim/mapping.h @@ -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 |