diff --git a/home/config/nvim/lua/plugins/venv-selector.lua b/home/config/nvim/lua/plugins/venv-selector.lua index a61d4c1..da93b2b 100644 --- a/home/config/nvim/lua/plugins/venv-selector.lua +++ b/home/config/nvim/lua/plugins/venv-selector.lua @@ -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 = { + { "cv", "VenvSelect" }, }, - event = "VeryLazy", }, }