Skip to content

Commit c4d53a1

Browse files
committed
Always use a binary diff view for custom editors
#87212
1 parent 4d017a9 commit c4d53a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/customEditor/browser/customEditors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ export class CustomEditorContribution implements IWorkbenchContribution {
441441
if (modifiedOverride || originalOverride) {
442442
return {
443443
override: (async () => {
444-
const input = new DiffEditorInput(editor.getName(), editor.getDescription(), originalOverride || editor.originalInput, modifiedOverride || editor.modifiedInput);
444+
const input = new DiffEditorInput(editor.getName(), editor.getDescription(), originalOverride || editor.originalInput, modifiedOverride || editor.modifiedInput, true);
445445
return this.editorService.openEditor(input, { ...options, ignoreOverrides: true }, group);
446446
})(),
447447
};

0 commit comments

Comments
 (0)