fix: Update hover.lua -- was missing lsp.Handler parameter (#1490)

This commit is contained in:
David Villafaña 2024-09-10 00:34:37 -05:00 committed by GitHub
parent 4ce44df854
commit 2137620a20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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