Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix autocompletion endless loop for last line in file #77

Merged
merged 2 commits into from
Jul 3, 2019

Conversation

abobov
Copy link
Contributor

@abobov abobov commented Jul 2, 2019

Error can be reproduced on this file:

2019/07/01 Transaction
    Assets                                 $100.00
    Income

2019-07-02 T<C-x><C-o>

Line 2019-07-02 T should be last line in a file (no blank line after it) and then you try to compete transaction name it's would run endless loop.

@alerque
Copy link
Member

alerque commented Jul 3, 2019

Thank you for fixing this! I had actually run into this and failed to trace it in any meaningful way. I wasn't even sure it was this plugin or something else I had going on.

@alerque alerque merged commit 3d76cee into ledger:master Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants