Skip to content

Commit

Permalink
Fixes #235977 (#235982)
Browse files Browse the repository at this point in the history
  • Loading branch information
hediet authored Dec 16, 2024
1 parent 9db572a commit f216365
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f216365

Please sign in to comment.