Skip to content

Commit

Permalink
fix: Update hover.lua -- was missing lsp.Handler parameter (#1490)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtvillafana authored Sep 10, 2024
1 parent 4ce44df commit 2137620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspsaga/hover.lua
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function hover:do_request(args)
end
local count = 0

_, self.cancel = lsp.buf_request(0, method, params, function(_, result, ctx)
_, self.cancel = lsp.buf_request(0, method, params, function(_, result, ctx, _)
count = count + 1

if api.nvim_get_current_buf() ~= ctx.bufnr then
Expand Down

0 comments on commit 2137620

Please sign in to comment.