move most important config to ansible
This commit is contained in:
24
roles/nvim/files/lua/config/plugins/venv-selector.lua
Normal file
24
roles/nvim/files/lua/config/plugins/venv-selector.lua
Normal file
@ -0,0 +1,24 @@
|
||||
return {
|
||||
"linux-cultist/venv-selector.nvim",
|
||||
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({
|
||||
-- settings = {
|
||||
-- search = {
|
||||
-- my_envs = {
|
||||
-- command = "fd python$ ~/git/cerenim/backend/"
|
||||
-- }
|
||||
-- }
|
||||
-- }
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{ ",v", "<cmd>VenvSelect<cr>" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user