Skip to content

Commit 8b1f7df

Browse files
committed
put enhanced text diff behind a flag
1 parent 8fcf75a commit 8b1f7df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export class NotebookContribution extends Disposable implements IWorkbenchContri
242242
return undefined;
243243
}
244244

245-
if (originalInput instanceof DiffEditorInput) {
245+
if (originalInput instanceof DiffEditorInput && this.configurationService.getValue('notebook.diff.enablePreview')) {
246246
return this._handleDiffEditorInput(originalInput, options, group);
247247
}
248248

0 commit comments

Comments
 (0)