Skip to content

Commit db1cfda

Browse files
authored
Stop reporting copilotHover "enabled" as invalid. (#13318)
1 parent 60c4434 commit db1cfda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Extension/src/LanguageServer/settingsTracker.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export class SettingsTracker {
104104
}
105105
const curEnum: any[] = curSetting["enum"];
106106
if (curEnum && curEnum.indexOf(val) === -1
107-
&& (key !== "loggingLevel" || util.getNumericLoggingLevel(val) === -1)) {
107+
&& (key !== "loggingLevel" || util.getNumericLoggingLevel(val) === -1)
108+
&& (key !== "copilotHover" || val !== "enabled")) {
108109
return "<invalid>";
109110
}
110111
return val;

0 commit comments

Comments
 (0)