Skip to content

Commit

Permalink
Specify hover range for highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
aazuspan committed Aug 11, 2024
1 parent 2dbde79 commit 89795d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spinasm_lsp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ async def hover(ls: SPINAsmLanguageServer, params: lsp.HoverParams) -> lsp.Hover
if not hover_msg
else lsp.Hover(
contents=lsp.MarkupContent(kind=lsp.MarkupKind.Markdown, value=hover_msg),
range=token.range,
)
)

Expand Down

0 comments on commit 89795d9

Please sign in to comment.