aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/msgpack_functions_spec.lua
diff options
context:
space:
mode:
authorAndrey Mishchenko <mishchea@gmail.com>2022-04-22 20:01:08 -0400
committerGitHub <noreply@github.com>2022-04-23 08:01:08 +0800
commit4e4914ab2e523f100c06fc5fb253f8625cc67232 (patch)
tree89b3052bb69cafde0220d65e774c8af84ecae8e3 /test/functional/vimscript/msgpack_functions_spec.lua
parent116a3f4683de501228b422f67cf1030bee78759c (diff)
downloadrneovim-4e4914ab2e523f100c06fc5fb253f8625cc67232.tar.gz
rneovim-4e4914ab2e523f100c06fc5fb253f8625cc67232.tar.bz2
rneovim-4e4914ab2e523f100c06fc5fb253f8625cc67232.zip
fix(lua): don't mutate opts parameter of vim.keymap.del (#18227)
`vim.keymap.del` takes an `opts` parameter that lets caller refer to and delete buffer-local mappings. For some reason the implementation of `vim.keymap.del` mutates the table that is passed in, setting `opts.buffer` to `nil`. This is wrong and also undocumented.
Diffstat (limited to 'test/functional/vimscript/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions