diff --git a/init.lua b/init.lua index 4ce35f4b..3c83b523 100644 --- a/init.lua +++ b/init.lua @@ -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! diff --git a/lua/custom/plugins/remote-nvim.lua b/lua/custom/plugins/remote-nvim.lua new file mode 100644 index 00000000..a06ee0e1 --- /dev/null +++ b/lua/custom/plugins/remote-nvim.lua @@ -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, +} diff --git a/lua/custom/plugins/venv-selector.lua b/lua/custom/plugins/venv-selector.lua new file mode 100644 index 00000000..8b06f4ad --- /dev/null +++ b/lua/custom/plugins/venv-selector.lua @@ -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 = { + { 'v', 'VenvSelect' }, + }, +}