pull/235987/head
Henning Dieterichs 2024-12-12 18:26:39 +01:00 committed by GitHub
parent 43d31daf41
commit a897802b2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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();