This commit is contained in:
Henning Dieterichs
2024-12-12 18:26:39 +01:00
committed by GitHub
parent 43d31daf41
commit a897802b2d
@@ -146,7 +146,7 @@ export class InlineCompletionsController extends Disposable {
}
const m = this.model.get();
if (!m) { return; }
if (m.inlineCompletionState.get()?.primaryGhostText) {
if (m.state.get()?.kind === 'ghostText') {
this.model.get()?.stop();
} else if (m.state.get()?.inlineCompletion) {
this.model.get()?.collapseInlineEdit();