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

@ -616,7 +616,7 @@ require('lazy').setup({
local servers = {
-- clangd = {},
-- gopls = {},
-- pyright = {},
pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--
@ -927,17 +927,17 @@ require('lazy').setup({
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
--
-- require 'kickstart.plugins.debug',
-- require 'kickstart.plugins.indent_line',
require 'kickstart.plugins.indent_line',
-- require 'kickstart.plugins.lint',
-- require 'kickstart.plugins.autopairs',
-- require 'kickstart.plugins.neo-tree',
require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config.
--
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- { import = 'custom.plugins' },
{ import = 'custom.plugins' },
--
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
-- Or use telescope!

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>' },
},
}