Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z= spelling suggestions wrongly captured #81

Closed
SichangHe opened this issue Oct 19, 2022 · 3 comments
Closed

z= spelling suggestions wrongly captured #81

SichangHe opened this issue Oct 19, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@SichangHe
Copy link

Describe the bug
When doing z= over a misspelled word, nothing seems to happen and the cursor teleports to the bottom-left corner of the terminal.
After pressing enter, the cursor returns to where it was and the spelling suggestions pop up as one big notification.

Which version of Neovim are you using?

❯ nvim --version                                                                                                                                                        ~
NVIM v0.9.0-dev-123-gbe43cf16c-dirty
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by sichanghe@StevenHesMBP2.wired.duke.local

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/HEAD-be43cf1/share/nvim"

Run :checkhealth for more info

Expected Behavior
I should still get a full-screen spelling suggestions window. Noice.nvim should not capture it.

Please ask for more information if they are needed. Thank you.

@SichangHe SichangHe added the bug Something isn't working label Oct 19, 2022
@folke folke closed this as completed in 4479c43 Oct 19, 2022
@folke
Copy link
Owner

folke commented Oct 19, 2022

Fixed!

fyi, if you use which-key, you can enable {plugins = {spelling = true}}, to get a much nicer way of picking spelling suggestions.

@SichangHe
Copy link
Author

Confirming this is "fixed." One still needs to press both the number to choose and enter for it to apply, but I guess that is fine as soon as you know how to do it.
Tried which-key, didn't work for me because I don't use leader key at all and which-key display no hint for me…

@folke
Copy link
Owner

folke commented Oct 19, 2022

@SichangHe chosing a number and having to press enter is standard Neovim behavior. Nothing I can do about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants