diff --git a/init.lua b/init.lua index 1b92787..41638a6 100644 --- a/init.lua +++ b/init.lua @@ -827,6 +827,7 @@ require('lazy').setup({ -- set group index to 0 to skip loading LuaLS completions as lazydev recommends it group_index = 0, }, + { name = 'copilot' }, { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = 'path' }, diff --git a/lua/custom/plugins/code-companion.lua b/lua/custom/plugins/code-companion.lua new file mode 100644 index 0000000..04b34ce --- /dev/null +++ b/lua/custom/plugins/code-companion.lua @@ -0,0 +1,8 @@ +return { + 'olimorris/codecompanion.nvim', + opts = {}, + dependencies = { + 'nvim-lua/plenary.nvim', + 'nvim-treesitter/nvim-treesitter', + }, +} diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua new file mode 100644 index 0000000..ee0a158 --- /dev/null +++ b/lua/custom/plugins/copilot.lua @@ -0,0 +1,30 @@ +return { + { + 'zbirenbaum/copilot.lua', + cmd = 'Copilot', + event = 'InsertEnter', + config = function() + require('copilot').setup { + suggestion = { enabled = false }, + panel = { enabled = false }, + } + end, + }, + { + 'zbirenbaum/copilot-cmp', + event = 'InsertEnter', + config = function() + require('copilot_cmp').setup() + end, + dependencies = { + 'zbirenbaum/copilot.lua', + cmd = 'Copilot', + config = function() + require('copilot').setup { + suggestion = { enabled = false }, + panel = { enabled = false }, + } + end, + }, + }, +} diff --git a/lua/custom/plugins/mcp-hub.lua b/lua/custom/plugins/mcp-hub.lua new file mode 100644 index 0000000..ad1af91 --- /dev/null +++ b/lua/custom/plugins/mcp-hub.lua @@ -0,0 +1,14 @@ +return { + 'ravitemer/mcphub.nvim', + dependencies = { + 'nvim-lua/plenary.nvim', -- Required for Job and HTTP requests + }, + -- uncomment the following line to load hub lazily + --cmd = "MCPHub", -- lazy load + build = 'npm install -g mcp-hub@latest', -- Installs required mcp-hub npm module + -- uncomment this if you don't want mcp-hub to be available globally or can't use -g + -- build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration) + config = function() + require('mcphub').setup() + end, +} diff --git a/lua/custom/plugins/noice.lua b/lua/custom/plugins/noice.lua new file mode 100644 index 0000000..29373a8 --- /dev/null +++ b/lua/custom/plugins/noice.lua @@ -0,0 +1,15 @@ +return { + 'folke/noice.nvim', + event = 'VeryLazy', + opts = { + -- add any options here + }, + dependencies = { + -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries + 'MunifTanjim/nui.nvim', + -- OPTIONAL: + -- `nvim-notify` is only needed, if you want to use the notification view. + -- If not available, we use `mini` as the fallback + 'rcarriga/nvim-notify', + }, +}