linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
378 stars 40 forks source link

[Feature Request] Add VenvSelectCached command in regexp version #133

Closed TroySigX closed 4 weeks ago

TroySigX commented 1 month ago

Usually, I only open python files just to copy some functions without editing it, so enabling activating cached venv is overkill for me. But I do like to select cached venv when I edit them, so it'd be great if I have a choice to select cached venv when needed.

linux-cultist commented 1 month ago

I can add an option for this also, so the VenvSelectCached command shows up when the option is set. :)

linux-cultist commented 4 weeks ago

Update the plugin and set this option below to false:

cached_venv_automatic_activation = false

Then venvs should no longer be activated from cache automatically, and you need to run the VenvSelectCached command.

Thanks for your feedback on this, appreciate it. :)