Autocompletion doesn't work in a new tab.
Hi there! If I open a file autocompletion works just fine. If I open the same file in a new tab autocompletion still works, but if I open another file in a new tab, autocompletion stops working for the new file. If I close vim and reopen just the last opened file, autocompletion works fine again. It seems like autocompletion stops working for a new file opened in a new tab.
I have the same issue.
@sprnza I changed the b:beancount_root to the global variable g:beancount_root to solve this problem. https://github.com/tzwm/vim-beancount/commit/4e6721e77d66b7a76b958c83f56112d0b21d59e0
@tzwm If I change it to the global variable auto completion stops working at all.
@sprnza I changed the
b:beancount_rootto the global variableg:beancount_rootto solve this problem. tzwm@4e6721e
Hi @tzwm ! I've just noticed your code changes, I though you were saying about config in vimrc only. I've altered my beancount.vim per your diff and now it works perfectly fine. But what are limitations of this? Why don't you create a PR?