Closed xu-cheng closed 1 year ago
Just use <esc>
instead?
Yes, <esc>
works. But it would be better if it can support the same keymap as the builtin one.
Unfortunately that's not easy to add
Ok. I guess I will choose to use the builtin spell suggestion in the mean time. May I ask a related question? If I want to use the builtin one, how can I stop noice.nvim
to replace its UI?
The suggestions come in as a msg_show.echo
message, so there's no way to know these are spelling suggestions.
Just disable Noice as well
Thanks for the suggestion. I will leave the issue as it is then. Feel free to close it if you don't want to support this feature in the near future.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.0
Operating system/version
macOS 13.4
Describe the bug
When using builtin spell suggestion, pressing
q
orenter
will cancel the suggestion, i.e., closing the suggestion view. Thewhich-key
plugin should mimic the same behaviour. However, currently after pressingq
orenter
,which-key
will close its own suggestion view then show the builtin spell suggestion. The UX is even worse ifnoice.nvim
is also installed. In the latter case, the user has to switch to the popup window to close it.Steps To Reproduce
z=
.q
orenter
.Expected Behavior
which-key
spelling suggestion is closed. The builtin one is not opened.Repro