update: nvim venv-selector

This commit is contained in:
DACHXY 2025-01-03 01:43:27 +08:00
parent 43e394c86a
commit fe1d9adfa8

View file

@ -5,12 +5,19 @@ return {
}, },
{ {
"linux-cultist/venv-selector.nvim", "linux-cultist/venv-selector.nvim",
dependencies = { "neovim/nvim-lspconfig", "nvim-telescope/telescope.nvim", "mfussenegger/nvim-dap" }, dependencies = {
opts = { "neovim/nvim-lspconfig",
name = { "venv", ".venv" }, "mfussenegger/nvim-dap",
parents = 2, "mfussenegger/nvim-dap-python", --optional
auto_refresh = true, { "nvim-telescope/telescope.nvim", branch = "0.1.x", dependencies = { "nvim-lua/plenary.nvim" } },
},
lazy = false,
branch = "regexp", -- This is the regexp branch, use this for the new version
config = function()
require("venv-selector").setup()
end,
keys = {
{ "<leader>cv", "<cmd>VenvSelect<cr>" },
}, },
event = "VeryLazy",
}, },
} }