aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-01 12:27:37 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-01 21:54:18 +0800
commit083865071b52d746de50294a0603bc6dbe20b3ec (patch)
tree9bd9fda27f8dc86963b3c4567502d139afe9b9ed /src/nvim/eval.lua
parentdb6e93c48df551e2906c9e0f4472f9e54cea3dd9 (diff)
downloadrneovim-083865071b52d746de50294a0603bc6dbe20b3ec.tar.gz
rneovim-083865071b52d746de50294a0603bc6dbe20b3ec.tar.bz2
rneovim-083865071b52d746de50294a0603bc6dbe20b3ec.zip
vim-patch:8.2.0807: cannot easily restore a mapping
Problem: Cannot easily restore a mapping. Solution: Add mapset(). https://github.com/vim/vim/commit/4c9243f9fb708c9010867d3cc8e928f36b58509a Use MapArgument to reduce number of arguments of map_add(). N/A patches for version.c: vim-patch:8.2.0809: build failure with small features Problem: Build failure with small features. (Tony Mechelynck) Solution: Move "expr" inside #ifdef. https://github.com/vim/vim/commit/5a80f8ad5dc0b2cc63400255dcf3c63f6c1a2ef9
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 3db0d27018..c8eb0334fa 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -250,6 +250,7 @@ return {
map={args=2, base=1},
maparg={args={1, 4}, base=1},
mapcheck={args={1, 3}, base=1},
+ mapset={args=3, base=1},
match={args={2, 4}, base=1},
matchadd={args={2, 5}, base=1},
matchaddpos={args={2, 5}, base=1},