AckslD / swenv.nvim

Tiny plugin to quickly switch python virtual environments from within neovim without restarting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto pick .venv dir

palandovalex opened this issue · comments

I am using poetry, and by my settings - it make virtual envs inside .venv dir in project root. Can your plugin handle it?

Currently swenv assumes venv in a common folder. Your usecase seems more like enabling a venv in the current directory? This is not supported atm and not something I need but feel free to submit a PR which can reuse some of the functions here.

Sorry btw, when writing the above comment I completely forgot that we have the auto_venv feature. Thanks for the PR, added some comments.