Skip to content

Commit

Permalink
feat: add workspace symbol resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Aug 31, 2023
1 parent eeca839 commit b460d97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pygls/capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
WORKSPACE_DID_DELETE_FILES,
WORKSPACE_DID_RENAME_FILES,
WORKSPACE_SYMBOL,
WORKSPACE_SYMBOL_RESOLVE,
WORKSPACE_WILL_CREATE_FILES,
WORKSPACE_WILL_DELETE_FILES,
WORKSPACE_WILL_RENAME_FILES,
Expand Down Expand Up @@ -354,6 +355,7 @@ def _with_moniker(self):
def _with_workspace_symbol(self):
value = self._provider_options(WORKSPACE_SYMBOL)
if value is not None:
value.resolve_provider = self._provider_options(WORKSPACE_SYMBOL_RESOLVE)
self.server_cap.workspace_symbol_provider = value
return self

Expand Down

0 comments on commit b460d97

Please sign in to comment.