diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-01 22:19:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 22:19:30 +0800 |
commit | 8d1c55e4224fc990d18409905aeb51d54d9d78cb (patch) | |
tree | bb4379bde6144ab7a0e2436149730a276c3089d0 /src/nvim/mapping.h | |
parent | db6e93c48df551e2906c9e0f4472f9e54cea3dd9 (diff) | |
parent | d954e8da62faccd468896baf2fe06107196cf952 (diff) | |
download | rneovim-8d1c55e4224fc990d18409905aeb51d54d9d78cb.tar.gz rneovim-8d1c55e4224fc990d18409905aeb51d54d9d78cb.tar.bz2 rneovim-8d1c55e4224fc990d18409905aeb51d54d9d78cb.zip |
Merge pull request #19602 from zeertzjq/vim-8.2.0807
vim-patch:8.2.{0807,0809,0812,0815,0832,1773,2804,4831,5106},9.0.0127: first part of mapset()
Diffstat (limited to 'src/nvim/mapping.h')
-rw-r--r-- | src/nvim/mapping.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/mapping.h b/src/nvim/mapping.h index 98d0074075..7c48c3bce2 100644 --- a/src/nvim/mapping.h +++ b/src/nvim/mapping.h @@ -48,6 +48,11 @@ typedef struct map_arguments MapArguments; #define MAP_ARGUMENTS_INIT { false, false, false, false, false, false, false, false, \ { 0 }, 0, { 0 }, 0, NULL, 0, LUA_NOREF, false, NULL, 0, NULL } +// Used for the first argument of do_map() +#define MAPTYPE_MAP 0 +#define MAPTYPE_UNMAP 1 +#define MAPTYPE_NOREMAP 2 + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "mapping.h.generated.h" #endif |