diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-06-16 11:14:55 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-16 11:14:55 +0100 |
commit | 44068e97dbd8fc8ebd93113e436a1e37a6bff52c (patch) | |
tree | 716b248e729eaa9ce8a2795192d3863ca2e5c462 /src/proto/map.pro | |
parent | 83497f875881973df772cc4cc593766345df6c4a (diff) | |
download | vim-git-44068e97dbd8fc8ebd93113e436a1e37a6bff52c.tar.gz |
patch 8.2.5106: default cmdwin mappings are re-mappablev8.2.5106
Problem: Default cmdwin mappings are re-mappable.
Solution: Make the default mappings not re-mappable. (closes #10580) Use
symbols for the first do_map() argument.
Diffstat (limited to 'src/proto/map.pro')
-rw-r--r-- | src/proto/map.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/map.pro b/src/proto/map.pro index f92339f7d..5caa85921 100644 --- a/src/proto/map.pro +++ b/src/proto/map.pro @@ -22,7 +22,7 @@ void f_maparg(typval_T *argvars, typval_T *rettv); void f_mapcheck(typval_T *argvars, typval_T *rettv); void f_mapset(typval_T *argvars, typval_T *rettv); void init_mappings(void); -void add_map(char_u *map, int mode); +void add_map(char_u *map, int mode, int nore); int langmap_adjust_mb(int c); void langmap_init(void); void langmap_set(void); |