Skip to content

Commit 2e6b461

Browse files
Julien RaynalJulien Raynal
authored andcommitted
local setup
1 parent 2ba39c6 commit 2e6b461

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

init.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ require('lazy').setup({
616616
local servers = {
617617
-- clangd = {},
618618
-- gopls = {},
619-
-- pyright = {},
619+
pyright = {},
620620
-- rust_analyzer = {},
621621
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
622622
--
@@ -927,17 +927,17 @@ require('lazy').setup({
927927
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
928928
--
929929
-- require 'kickstart.plugins.debug',
930-
-- require 'kickstart.plugins.indent_line',
930+
require 'kickstart.plugins.indent_line',
931931
-- require 'kickstart.plugins.lint',
932932
-- require 'kickstart.plugins.autopairs',
933-
-- require 'kickstart.plugins.neo-tree',
933+
require 'kickstart.plugins.neo-tree',
934934
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
935935

936936
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
937937
-- This is the easiest way to modularize your config.
938938
--
939939
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
940-
-- { import = 'custom.plugins' },
940+
{ import = 'custom.plugins' },
941941
--
942942
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
943943
-- Or use telescope!

lua/custom/plugins/remote-nvim.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
return {
2+
'amitds1997/remote-nvim.nvim',
3+
version = '*', -- Pin to GitHub releases
4+
dependencies = {
5+
'nvim-lua/plenary.nvim', -- For standard functions
6+
'MunifTanjim/nui.nvim', -- To build the plugin UI
7+
'nvim-telescope/telescope.nvim', -- For picking b/w different remote methods
8+
},
9+
config = true,
10+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
return {
2+
'linux-cultist/venv-selector.nvim',
3+
dependencies = {
4+
'neovim/nvim-lspconfig',
5+
'mfussenegger/nvim-dap',
6+
'mfussenegger/nvim-dap-python', --optional
7+
{ 'nvim-telescope/telescope.nvim', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim' } },
8+
},
9+
lazy = false,
10+
branch = 'regexp', -- This is the regexp branch, use this for the new version
11+
config = function()
12+
require('venv-selector').setup {
13+
settings = {
14+
search = {
15+
find_pixi_venvs = {
16+
command = 'find .pixi/envs/*/bin -name python',
17+
},
18+
},
19+
},
20+
}
21+
end,
22+
keys = {
23+
{ '<leader>v', '<cmd>VenvSelect<cr>' },
24+
},
25+
}

0 commit comments

Comments
 (0)