Skip to content

Commit 0a378fd

Browse files
committed
Fixes microsoft#80572: register correct default in JSON schema for enums
1 parent 7226e32 commit 0a378fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/editor/common/config/editorOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ class EditorEnumOption<K1 extends EditorOption, T extends string, V> extends Bas
863863
if (typeof schema !== 'undefined') {
864864
schema.type = 'string';
865865
schema.enum = allowedValues;
866-
schema.default = defaultValue;
866+
schema.default = defaultStringValue;
867867
}
868868
super(id, name, defaultValue, schema);
869869
this._allowedValues = allowedValues;

0 commit comments

Comments
 (0)