Skip to content

Commit 774ab0e

Browse files
committed
Fix Copilot hover warning in the ExtensionHost logging.
1 parent a2b7383 commit 774ab0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/Providers/CopilotHoverProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class CopilotHoverProvider implements vscode.HoverProvider {
4646
}
4747
}
4848

49-
if (settings.copilotHover === "default") {
49+
if (new CppSettings().copilotHover === "default") {
5050
// Check flight to make sure the feature is enabled.
5151
if (!await telemetry.isFlightEnabled("CppCopilotHover")) {
5252
return undefined;

0 commit comments

Comments
 (0)