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",
dependencies = { "neovim/nvim-lspconfig", "nvim-telescope/telescope.nvim", "mfussenegger/nvim-dap" },
opts = {
name = { "venv", ".venv" },
parents = 2,
auto_refresh = true,
dependencies = {
"neovim/nvim-lspconfig",
"mfussenegger/nvim-dap",
"mfussenegger/nvim-dap-python", --optional
{ "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",
},
}