-
Notifications
You must be signed in to change notification settings - Fork 114
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
Scroll in hover without enter #161
Comments
This comment was marked as outdated.
This comment was marked as outdated.
|
Damn, should be without source. Will fix the docs! |
https://github.com/folke/noice.nvim#lsp-hover-doc-scrolling vim.keymap.set("n", "<c-f>", function()
if not require("noice.lsp").scroll(4) then
return "<c-f>"
end
end, { silent = true, expr = true })
vim.keymap.set("n", "<c-b>", function()
if not require("noice.lsp").scroll(-4) then
return "<c-b>"
end
end, { silent = true, expr = true }) |
Excuse me for commenting on a closed issue: using the above I get "attempt to call a nil value (scroll)", which leads me to think the |
@gennaro-tedesco my bad. Did some refactoring on the lsp code and forgot to export the scroll function. Should be fixed now |
While I no longer see the error now, I also do not get the scrolling motion in the hover. Is it working for you? Or perhaps I misunderstood: this is for the hover |
@gennaro-tedesco please see #210 |
How to scroll in lsp hover without enter? In lsp signature too. Thanks.
The text was updated successfully, but these errors were encountered: