update: nvim venv-selector
This commit is contained in:
parent
43e394c86a
commit
fe1d9adfa8
1 changed files with 13 additions and 6 deletions
|
|
@ -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",
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue