Skip to content

Commit 5baf121

Browse files
author
aiday-mar
committed
removing editor. from the migration
1 parent 32d9009 commit 5baf121

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/vs/editor/browser/config/migrateOptions.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,20 +173,20 @@ registerEditorSettingMigration('quickSuggestions', (input, read, write) => {
173173

174174
// Sticky Scroll
175175

176-
registerEditorSettingMigration('editor.experimental.stickyScroll.enabled', (value, read, write) => {
176+
registerEditorSettingMigration('experimental.stickyScroll.enabled', (value, read, write) => {
177177
if (typeof value !== 'undefined') {
178-
write('editor.experimental.stickyScroll.enabled', undefined);
179-
if (typeof read('editor.stickyScroll.enabled') === 'undefined') {
180-
write('editor.stickyScroll.enabled', !!value);
178+
write('experimental.stickyScroll.enabled', undefined);
179+
if (typeof read('stickyScroll.enabled') === 'undefined') {
180+
write('stickyScroll.enabled', !!value);
181181
}
182182
}
183183
});
184184

185-
registerEditorSettingMigration('editor.experimental.stickyScroll.maxLineCount', (value, read, write) => {
185+
registerEditorSettingMigration('experimental.stickyScroll.maxLineCount', (value, read, write) => {
186186
if (typeof value !== 'undefined') {
187-
write('editor.experimental.stickyScroll.maxLineCount', undefined);
188-
if (typeof read('editor.stickyScroll.maxLineCount') === 'undefined') {
189-
write('editor.stickyScroll.maxLineCount', !!value);
187+
write('experimental.stickyScroll.maxLineCount', undefined);
188+
if (typeof read('stickyScroll.maxLineCount') === 'undefined') {
189+
write('stickyScroll.maxLineCount', value);
190190
}
191191
}
192192
});

0 commit comments

Comments
 (0)