Skip to content

Commit 45486ba

Browse files
authored
Make interactive session input a simple widget (microsoft#178160)
I disabled this when I added the suggest widget, but I'm pretty sure that isn't necessary, and this causes the vim extension to run in this editor
1 parent 1379bf3 commit 45486ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export class InteractiveSessionWidget extends Disposable implements IInteractive
448448
options.scrollbar = { ...(options.scrollbar ?? {}), vertical: 'hidden' };
449449

450450
const inputEditorElement = dom.append(inputContainer, $('.interactive-input-editor'));
451-
this._inputEditor = this._register(scopedInstantiationService.createInstance(CodeEditorWidget, inputEditorElement, options, { ...getSimpleCodeEditorWidgetOptions(), isSimpleWidget: false }));
451+
this._inputEditor = this._register(scopedInstantiationService.createInstance(CodeEditorWidget, inputEditorElement, options, getSimpleCodeEditorWidgetOptions()));
452452

453453
this._register(this._inputEditor.onDidChangeModelContent(() => {
454454
const currentHeight = Math.min(this._inputEditor.getContentHeight(), INPUT_EDITOR_MAX_HEIGHT);

0 commit comments

Comments
 (0)