Skip to content

Commit 2137620

Browse files
authored
fix: Update hover.lua -- was missing lsp.Handler parameter (#1490)
1 parent 4ce44df commit 2137620

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/lspsaga/hover.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function hover:do_request(args)
231231
end
232232
local count = 0
233233

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

237237
if api.nvim_get_current_buf() ~= ctx.bufnr then

0 commit comments

Comments
 (0)