which-key.nvim
which-key.nvim copied to clipboard
feat: support opts.replace_keycodes for keymap
My luasnip keymaps were broken after starting to use which-key.nvim. This fixes it.
Kept the default vim.keymap.set behavior:
https://github.com/neovim/neovim/blob/a0e6e767a617d79983ac4982850dee6d95ed5b56/runtime/lua/vim/keymap.lua#L42
https://github.com/neovim/neovim/blob/a0e6e767a617d79983ac4982850dee6d95ed5b56/runtime/lua/vim/keymap.lua#L63-L65