Skip to content

Commit

Permalink
fix: export scroll in noice.lsp. See #161
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 10, 2022
1 parent 860c8c9 commit 0fe5a1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/noice/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ function M.setup()
end
end

function M.scroll(delta)
return require("noice.lsp.docs").scroll(delta)
end

function M.hover()
---@diagnostic disable-next-line: missing-parameter
local params = vim.lsp.util.make_position_params()
Expand Down

0 comments on commit 0fe5a1e

Please sign in to comment.