Skip to content

Commit

Permalink
fix duplicate lines down
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Apr 10, 2024
1 parent bb973dd commit 2a1277d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension/completion-formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class CompletionFormatter {
const lineCount = this._editor.document.lineCount
let nextLineIndex = this._cursorPosition.line + 1
while (
nextLineIndex < this._cursorPosition.line + 1 &&
nextLineIndex < this._cursorPosition.line + 3 &&
nextLineIndex < lineCount
) {
const line = this._editor.document.lineAt(nextLineIndex)
Expand Down

0 comments on commit 2a1277d

Please sign in to comment.