Skip to content

Commit e64712a

Browse files
authored
Fixes context key (microsoft#186021)
1 parent 9080657 commit e64712a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,9 @@ export class DiffEditorWidget2 extends DelegatingEditor implements IDiffEditor {
7777
@ICodeEditorService codeEditorService: ICodeEditorService,
7878
) {
7979
super();
80-
8180
codeEditorService.willCreateDiffEditor();
8281

83-
this._contextKeyService.createKey(EditorContextKeys.inDiffEditor.key, true);
82+
this._contextKeyService.createKey('isInDiffEditor', true);
8483
this._contextKeyService.createKey('diffEditorVersion', 2);
8584

8685
this._options = new DiffEditorOptions(options);

0 commit comments

Comments
 (0)