Closed konart closed 2 years ago
Thanks for reporting this. I'll have a look
keys = {[[<Leader>\]]}
doesn't work also.
Also have this bug, if I have keys = '<C-\\>'
, in packer_compiled.lua it will be compiled to <C-\>
.
I'm working on a fix over in #989
Can anyone hitting this issue try the PR in #989 I want to confirm that it fixes the issue for other people
The PR in #989 fixes the issue for me
nvim --version
: NVIM v0.7.2git --version
: git version 2.37.1Steps to reproduce
Run
:PackerSync
after install the latest packer (commit 213ed031490ab5318e7996a594b52131e5c1c06f)Actual behaviour
Mappings with
\
sign (for examplevim.keymap.set("n", "\\[", ":NvimTreeToggle<CR>", { silent = true })
) cause the following error:Expected behaviour
No error
Commit 213ed031490ab5318e7996a594b52131e5c1c06f introduced this error I believe (installing previous versions and rerunning
:PackerSync
fixes the error.The latest version produces
note the second argument to
nvim_set_keymap