You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When first opening a ledger file the first time a completion is run (usually the date field for me) it takes a long time to return the result. After that results are fine. If this is a function of caching the list, then we should background a job that is getting those ready when a file is opened, not waiting until the first request is made.
Neovim + external command for both account and payee completion
The text was updated successfully, but these errors were encountered:
With both nvim 0.5.0 and vim 8.2-2925, on a .ledger file with more than a few lines the first completion runs forever. I tried letting it run, and CPU was still at 100% after 24 hours.
Currently I find vim-ledger to be unusable because of this.
Example file where I experience this bug:
2021-01-01 open a:abc:def
2021-01-01 open a:abc:ghi
Thanks for the small example. Unfortunately it doesn't reproduce for me, so that complicates things. I suspect some option I'm using in my init file is bypassing whatever your problem is. Can you include any config related to this plugin from your rc files?
When first opening a ledger file the first time a completion is run (usually the date field for me) it takes a long time to return the result. After that results are fine. If this is a function of caching the list, then we should background a job that is getting those ready when a file is opened, not waiting until the first request is made.
Neovim + external command for both account and payee completion
The text was updated successfully, but these errors were encountered: