direnv.vim icon indicating copy to clipboard operation
direnv.vim copied to clipboard

Add an option to load ENV synchronous

Open jiz4oh opened this issue 1 year ago • 1 comments

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 avatar May 14 '24 00:05 jiz4oh

related https://github.com/tpope/vim-bundler/issues/59#issuecomment-2108462453

jiz4oh avatar May 14 '24 01:05 jiz4oh