AckslD / swenv.nvim

Tiny plugin to quickly switch python virtual environments from within neovim without restarting.
206 stars 29 forks source link

Initially setting the venv to the terminal's venv on startup #12

Closed serhez closed 1 year ago

serhez commented 1 year ago

Hello!

Could it be possible to initially set the venv to the one which is already activated on the terminal initially on nvim's startup (i.e., when calling swenv's setup())?

Thanks!

AckslD commented 1 year ago

Isn't that already activated? Ie if you open :term and run python? Or do you mean that it's not shown in the status bar which is indeed true.

skolj commented 1 year ago

hey! created a PR that solves this. Let me know if that looks ok.