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();
|
||||
|
|
Loading…
Reference in New Issue