Skip to content

Commit

Permalink
feat(markdown): add hover support
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed May 9, 2024
1 parent c28d3be commit 7b4ad43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/markdown/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ export function create({
}
},

provideHover(document, position, token) {
if (prepare(document)) {
return ls.getHover(document, position, token);
}
},

provideReferences(document, position, referenceContext, token) {
if (prepare(document)) {
return ls.getReferences(
Expand Down

0 comments on commit 7b4ad43

Please sign in to comment.