Skip to content

Commit 3d76cee

Browse files
abobovalerque
authored andcommitted
Fix autocompletion when cursor on last line. (#77)
1 parent 3ddfb14 commit 3d76cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ledger.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function! ledger#transactions(...)
9999

100100
let transactions = []
101101
call cursor(lnum, 0)
102-
while lnum && lnum <= end
102+
while lnum && lnum < end
103103
let trans = s:transaction.from_lnum(lnum)
104104
if ! empty(trans)
105105
call add(transactions, trans)

0 commit comments

Comments
 (0)