Skip to content

Commit

Permalink
fix: compute resolve_provider for DocumentLinkOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed May 30, 2024
1 parent bddd3d9 commit feac904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygls/capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def _with_document_link(self):
types.TEXT_DOCUMENT_DOCUMENT_LINK, default=types.DocumentLinkOptions()
)
if value is not None:
value.resolve_provider = types.DOCUMENT_LINK_RESOLVE in self.features
self.server_cap.document_link_provider = value
return self

Expand Down

0 comments on commit feac904

Please sign in to comment.