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

Add an option to load ENV synchronous #37

Open
jiz4oh opened this issue May 14, 2024 · 1 comment
Open

Add an option to load ENV synchronous #37

jiz4oh opened this issue May 14, 2024 · 1 comment

Comments

@jiz4oh
Copy link

jiz4oh commented May 14, 2024

I have many vim plugins and some functions rely on the ENV. And those functions are also usually triggered at BufEnter and DirChanged. But those functions are work as unexpected due to the direnv load ENV asynchronous.

Could we consider add an option that let users to load ENV synchronous? I think it's better to have a performance degradation than to behave incorrectly.

I'd like to open a pr if you guys like it.

@jiz4oh
Copy link
Author

jiz4oh commented May 14, 2024

related tpope/vim-bundler#59 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant