Closed LuisA92 closed 1 year ago
Thanks for the issue, should be fixed now by #9
Re micromamba
, I won't myself but feel free to give it a try. Could follow the same pattern as venv or conda although I have no idea how micromamba works
I got it working with a minor change for getting the environment path:
local micromamba_exe = vim.fn.getenv('MAMBA_EXE')
if micromamba_exe ~= vim.NIL then
local micromamba_env_path = Path:new(vim.fn.getenv('MAMBA_ROOT_PREFIX')) .. '/envs'
local micromamba_paths = scan_dir(micromamba_env_path, { depth = 1, only_dirs = true, silent = true })
for _, path in ipairs(micromamba_paths) do
table.insert(venvs, {
name = Path:new(path):make_relative(micromamba_env_path),
path = path,
source = 'micromamba',
})
end
end
If you'd like to add micromamba support its in PR #10
My install stopped working with the latest update.
I am able to get it to work be removing the following lines:
Is there anyway to add support for micromamba?