diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-09 20:42:55 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-11-09 21:34:04 +0800 |
commit | 04d299c17014b0802c79613252e4de26da84a7c9 (patch) | |
tree | 8a17cad14b298c4f62c793da95c6d59924e82b84 /test/functional/vimscript/map_functions_spec.lua | |
parent | f748a73a357710db6094d4a428cd056f5df226a9 (diff) | |
download | rneovim-04d299c17014b0802c79613252e4de26da84a7c9.tar.gz rneovim-04d299c17014b0802c79613252e4de26da84a7c9.tar.bz2 rneovim-04d299c17014b0802c79613252e4de26da84a7c9.zip |
vim-patch:8.2.4932: not easy to filter the output of maplist()
Problem: Not easy to filter the output of maplist().
Solution: Add mode_bits to the dictionary. (Ernie Rael, closes vim/vim#10356)
https://github.com/vim/vim/commit/d8f5f766219273a8579947cc80b92580b6988a4b
Co-authored-by: Ernie Rael <errael@raelity.com>
Diffstat (limited to 'test/functional/vimscript/map_functions_spec.lua')
-rw-r--r-- | test/functional/vimscript/map_functions_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/vimscript/map_functions_spec.lua b/test/functional/vimscript/map_functions_spec.lua index 14818d9141..acba5e9708 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', + mode_bits=0x01, abbr=0, noremap=1, lnum=0, @@ -157,6 +158,7 @@ describe('maparg()', function() buffer = 0, expr = 0, mode = 'n', + mode_bits = 0x01, abbr = 0, noremap = 1, nowait = 0, |