Closed pteroctopus closed 2 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Not stale
This is fixed in v3 https://github.com/folke/which-key.nvim/pull/624
Ready soon
Thank you. Confirming that the problem is fixed.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.5
Operating system/version
Ubuntu 22.04
Describe the bug
When macro is executed in command mode with :normal @x and macro contains entering a command in command mode where ^R will be used to get content of the register: neovim will freeze. If Ctrl+C is pressed the following error message will be printed:
More details in reproduction steps.
Steps To Reproduce
touch reproduce.txt
nvim reproduce.txt
this will be replaced with content of register i
:.s/this/^Ri/g
(This macro will replace all wordsthis
on current line with content of register i):normal @x
If the same steps are done in neovim instance without WhichKey plugin problem will not happen.
Expected Behavior
Neovim using WhichKey plugin should not freeze and error should not happen when macro is executed with
:normal @x
when macro uses retrieval of content of register in command mode.Repro