local setup

This commit is contained in:
Julien Raynal 2024-11-14 14:41:58 +01:00
parent 2ba39c6973
commit 2e6b46179b
3 changed files with 39 additions and 4 deletions

View file

@ -0,0 +1,10 @@
return {
'amitds1997/remote-nvim.nvim',
version = '*', -- Pin to GitHub releases
dependencies = {
'nvim-lua/plenary.nvim', -- For standard functions
'MunifTanjim/nui.nvim', -- To build the plugin UI
'nvim-telescope/telescope.nvim', -- For picking b/w different remote methods
},
config = true,
}

View file

@ -0,0 +1,25 @@
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 = {
find_pixi_venvs = {
command = 'find .pixi/envs/*/bin -name python',
},
},
},
}
end,
keys = {
{ '<leader>v', '<cmd>VenvSelect<cr>' },
},
}