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

Autocompletion doesn't work in a new tab. #63

Open
sprnza opened this issue Oct 24, 2020 · 4 comments
Open

Autocompletion doesn't work in a new tab. #63

sprnza opened this issue Oct 24, 2020 · 4 comments

Comments

@sprnza
Copy link

sprnza commented Oct 24, 2020

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.

@tzwm
Copy link

tzwm commented Oct 30, 2020

I have the same issue.

@tzwm
Copy link

tzwm commented Nov 23, 2020

@sprnza I changed the b:beancount_root to the global variable g:beancount_root to solve this problem. tzwm@4e6721e

@sprnza
Copy link
Author

sprnza commented Nov 27, 2020

@tzwm If I change it to the global variable auto completion stops working at all.

@sprnza
Copy link
Author

sprnza commented Jan 15, 2021

@sprnza I changed the b:beancount_root to the global variable g:beancount_root to 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?

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

No branches or pull requests

2 participants