return { 'linux-cultist/venv-selector.nvim', cmd = 'VenvSelect', dependencies = { 'neovim/nvim-lspconfig', 'nvim-telescope/telescope.nvim', -- Remove nvim-dap-python from here - it's defined separately }, opts = { settings = { options = { activate_venv_in_terminal = true, notify_user_on_venv_activation = true, debug = true, }, search = { pyenv = { command = 'fd python$ -E "*lib*" -E "*init*" ${PYENV_ROOT}/versions/*.*.*/envs', on_telescope_result_callback = function(filename) return filename:gsub(os.getenv('HOME'), '~'):gsub('/bin/python', '') end, }, }, }, }, keys = { { ',v', 'VenvSelect', desc = 'Select Virtual Environment' }, }, }