mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00

`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.