From 0a378fda425b42664ef85b03863da730e15e40c7 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Mon, 9 Sep 2019 21:43:55 +0200 Subject: [PATCH] Fixes #80572: register correct default in JSON schema for enums --- src/vs/editor/common/config/editorOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/editor/common/config/editorOptions.ts b/src/vs/editor/common/config/editorOptions.ts index 737670324b8..0317d84ba71 100644 --- a/src/vs/editor/common/config/editorOptions.ts +++ b/src/vs/editor/common/config/editorOptions.ts @@ -863,7 +863,7 @@ class EditorEnumOption extends Bas if (typeof schema !== 'undefined') { schema.type = 'string'; schema.enum = allowedValues; - schema.default = defaultValue; + schema.default = defaultStringValue; } super(id, name, defaultValue, schema); this._allowedValues = allowedValues;