Skip to content

Commit

Permalink
Tweak parser so it supports definitions with types with parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
pherrymason committed Jan 14, 2024
1 parent aff63ee commit 5547584
Show file tree
Hide file tree
Showing 4 changed files with 19,238 additions and 18,805 deletions.
2 changes: 1 addition & 1 deletion server/lsp/indexables/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ func (d Def) GetDocumentRange() Range {
}

func (d Def) GetHoverInfo() string {
return fmt.Sprintf("def %s = ???", d.name)
return fmt.Sprintf("def %s = %s", d.name, d.resolvesTo)
}
Loading

0 comments on commit 5547584

Please sign in to comment.