Skip to content

Commit

Permalink
Fix s/protocol.DefinitionParams/protocol.HoverParams
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-hov committed Jan 20, 2024
1 parent 7aff61a commit 7e66f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/lsp/hover.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(), &params); err != nil {
return sendParseError(ctx, reply, err)
}
Expand Down

0 comments on commit 7e66f79

Please sign in to comment.