From f748a73a357710db6094d4a428cd056f5df226a9 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 9 Nov 2023 19:48:50 +0800 Subject: vim-patch:8.2.4861: it is not easy to restore saved mappings Problem: It is not easy to restore saved mappings. Solution: Make mapset() accept a dict argument. (Ernie Rael, closes vim/vim#10295) https://github.com/vim/vim/commit/51d04d16f21e19d6eded98f9530d84089102f925 Co-authored-by: Ernie Rael --- test/functional/vimscript/map_functions_spec.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/functional/vimscript/map_functions_spec.lua') diff --git a/test/functional/vimscript/map_functions_spec.lua b/test/functional/vimscript/map_functions_spec.lua index 3f8bf24505..14818d9141 100644 --- a/test/functional/vimscript/map_functions_spec.lua +++ b/test/functional/vimscript/map_functions_spec.lua @@ -30,6 +30,7 @@ describe('maparg()', function() buffer=0, nowait=0, mode='n', + abbr=0, noremap=1, lnum=0, } @@ -156,6 +157,7 @@ describe('maparg()', function() buffer = 0, expr = 0, mode = 'n', + abbr = 0, noremap = 1, nowait = 0, script = 0, -- cgit