Skip to content

Commit

Permalink
use default client instead of active client to support additional wor…
Browse files Browse the repository at this point in the history
…kspaces
  • Loading branch information
spebl committed Dec 7, 2024
1 parent 0ec4890 commit 0913dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/src/LanguageServer/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ async function onCopilotHover(): Promise<void> {
return;
}

const copilotHoverProvider = clients.ActiveClient.getCopilotHoverProvider();
const copilotHoverProvider = clients.getDefaultClient().getCopilotHoverProvider();
if (!copilotHoverProvider) {
return;
}
Expand Down

0 comments on commit 0913dac

Please sign in to comment.