Right now the cached list of accounts is only updated at initial completion request ( https://github.com/nathangrigg/vim-beancount/blob/master/autoload/beancount.vim#L92). We don't reload accounts once they've been loaded once. Quit vim and open it again. If this doesn't work, please share an example file that you think should work and I will look into it more.
On Thu, Nov 3, 2016 at 8:30 AM <[email protected]> wrote: > have tried, still not work. > > > On Wednesday, November 2, 2016 at 6:41:34 PM UTC+8, Cheng Zhen wrote: > > Try saving the beancount file first, then reopen it to test completion . > > May it works for you. > > > Cheng Zhen > https://wogong.net/ > > On Wed, Nov 2, 2016 at 6:35 PM, <[email protected]> wrote: > > Hi, > > I installed vim-beancount using Vundle. Everything works great, except the > completion function: > > I created "test.beancount" and opened some accounts, but the completion > did not work, says"Pattern not found".(screenshot1 > <http://i.imgur.com/zb7pLko.png>) > > Then I opened "example.beancount" which is created by "bean-example" > command. the completion works(screenshot2 <http://i.imgur.com/2g3iEG9.png>). > But after I add a new account "Assets:Test:Test", I can't find it at > completion list(I input "A:T:T",didn't show in the list screenshot3 > <http://i.imgur.com/dbdV5tE.png>). > > I am still Vim noob, can anyone help me? > > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > > > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/2872f011-44cb-4b26-8615-ea65eb510558%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/2872f011-44cb-4b26-8615-ea65eb510558%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/57a753b5-4145-405a-8355-29f3ef291014%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/57a753b5-4145-405a-8355-29f3ef291014%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFFHUgssQfddDuZ7SJv1Cq%3D64bNZ3h_3mjOQtBF9HKj5_k_d_A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
