Skip to content

Commit b8dc240

Browse files
committed
Fixes microsoft#91386: Improve JSON schema for minimap.scale
1 parent fdfed71 commit b8dc240

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2146,7 +2146,8 @@ class EditorMinimap extends BaseEditorOption<EditorOption.minimap, EditorMinimap
21462146
default: defaults.scale,
21472147
minimum: 1,
21482148
maximum: 3,
2149-
description: nls.localize('minimap.scale', "Scale of content drawn in the minimap.")
2149+
enum: [1, 2, 3],
2150+
description: nls.localize('minimap.scale', "Scale of content drawn in the minimap: 1, 2 or 3.")
21502151
},
21512152
'editor.minimap.renderCharacters': {
21522153
type: 'boolean',

0 commit comments

Comments
 (0)