diff --git a/internal/lsp/hover.go b/internal/lsp/hover.go index 77d4395..8a2b1c5 100644 --- a/internal/lsp/hover.go +++ b/internal/lsp/hover.go @@ -21,7 +21,7 @@ type HoveredToken struct { } func (s *server) Hover(ctx context.Context, reply jsonrpc2.Replier, req jsonrpc2.Request) error { - var params protocol.DefinitionParams + var params protocol.HoverParams if err := json.Unmarshal(req.Params(), ¶ms); err != nil { return sendParseError(ctx, reply, err) }