Skip to content

Commit

Permalink
fix early return
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Mar 20, 2024
1 parent 845ff7e commit 37942c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension/providers/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class CompletionProvider implements InlineCompletionItemProvider {
const isLastCompletionAccepted =
this._acceptedLastCompletion && !this._enableSubsequentCompletions

if (getIsMiddleOfWord() || isLastCompletionAccepted || this._isMultiLineCompletion) {
if (getIsMiddleOfWord() || isLastCompletionAccepted) {
this._statusBar.text = '🤖'
return []
}
Expand Down

0 comments on commit 37942c2

Please sign in to comment.