Closed themvl closed 6 days ago
This is in the old version of the plugin right? You should try the new version in the regexp branch. It's rewritten from scratch and shouldn't have this problem.
More info about new branch in the Readme at the top. :)
AFAIK i actually am using the regexp version. As this is the default in lazyvim which i am using, as referenced here: https://www.lazyvim.org/extras/lang/python
{
"linux-cultist/venv-selector.nvim",
branch = "regexp", -- Use this branch for the new version
cmd = "VenvSelect",
enabled = function()
return LazyVim.has("telescope.nvim")
end,
opts = {
settings = {
options = {
notify_user_on_venv_activation = true,
},
},
},
-- Call config for python files and load the cached venv automatically
ft = "python",
keys = { { "
I noticed when theres a space in the full path of a venv it does not get detected or displayed. I was able to resolve an issue like this by replacing a space somewhere in a higher folder with a underscore.