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

which-key <c-d> <c-u> scrolling is broken with neoscroll.nvim enabled #111

Open
den-is opened this issue Sep 2, 2024 · 1 comment
Open

Comments

@den-is
Copy link

den-is commented Sep 2, 2024

I discovered that while neoscroll plugin is enabled which-key window scrolling is not working.
Disabling neoscroll fixed issue.
I'm not lua/neovim pro, and was not able to discover if it is possible to disable neoscroll for whick-key, or how to make which-key to work while neoscroll is enabled.

I have created issue in both repos:
folke/which-key.nvim#839 - This is issue kinda has more details and example setup.

@karb94
Copy link
Owner

karb94 commented Sep 2, 2024

Thanks for reporting the issue. This is likely because which-key does not switch focus to the which-key floating window. This is a similar issue to #79 where telescope creates a preview window that is not in focus.

Neoscroll can now scroll non-active windows but I'll need to check how which-key implements window scrolling before I can say for sure I can build support for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants