Skip to content
Discussion options

You must be logged in to vote

Hey 👋

I had a quick look at the noice.nvim codebase.
It looks like it overrides the built-in LSP hover handler so that its scrolling functions can find the window.

rustaceanvim's LSP client doesn't use the built-in handler by default (to support hover actions), so there's nothing I can do to support noice.nvim.

You can configure rustaceanvim (:h rustaceanvim.config) to use the built-in hover handler (in which case you lose code actions with the K keymap, but you can still use it with :RustLsp hover actions).

It might be a viable option to add a scrolling command like :RustLsp scrollFloat [up|down] that works with hover actions, explainError, etc, which you could then invoke via a keymap.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@konosubakonoakua
Comment options

Answer selected by konosubakonoakua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants