Skip to content

Commit 52029aa

Browse files
authored
Merge branch 'main' into dev/allow_signed_metrics_values
2 parents 791e5c1 + db1cfda commit 52029aa

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)