diff --git a/nvim/after/plugin/copilot.lua b/nvim/after/plugin/copilot.lua index 679f73b..f24714e 100644 --- a/nvim/after/plugin/copilot.lua +++ b/nvim/after/plugin/copilot.lua @@ -1,4 +1,4 @@ -require('copilot').setup({ - suggestion = { enabled = false }, - panel = { enabled = false }, -}) +-- require('copilot').setup({ +-- suggestion = { enabled = false }, +-- panel = { enabled = false }, +-- }) diff --git a/nvim/after/plugin/copilotchat.lua b/nvim/after/plugin/copilotchat.lua index 56082b3..e93d2d0 100644 --- a/nvim/after/plugin/copilotchat.lua +++ b/nvim/after/plugin/copilotchat.lua @@ -1,6 +1,6 @@ -require("CopilotChat").setup{ - show_help = "yes", - debug = false, - disable_extra_info = 'no', - language = "Spanish" -} +-- require("CopilotChat").setup{ +-- show_help = "yes", +-- debug = false, +-- disable_extra_info = 'no', +-- language = "Spanish" +-- } diff --git a/nvim/after/plugin/lsp.lua b/nvim/after/plugin/lsp.lua index e061d63..6c5cb44 100644 --- a/nvim/after/plugin/lsp.lua +++ b/nvim/after/plugin/lsp.lua @@ -54,8 +54,9 @@ cmp_mappings[''] = nil lsp.setup_nvim_cmp({ mapping = cmp_mappings, sources = { - -- Copilot sources - { name = 'copilot' }, + -- AI sources + -- { name = 'copilot' }, + { name = 'codeium' }, -- Other sources { name = 'nvim_lsp' }, { name = 'buffer' }, @@ -64,6 +65,7 @@ lsp.setup_nvim_cmp({ { name = 'emoji' }, { name = 'treesitter' }, { name = 'vsnip' }, + { name = 'luasnip' }, } }) diff --git a/nvim/lua/serxoz/packer.lua b/nvim/lua/serxoz/packer.lua index 9dc4877..3012bbe 100644 --- a/nvim/lua/serxoz/packer.lua +++ b/nvim/lua/serxoz/packer.lua @@ -60,15 +60,28 @@ return require('packer').startup(function(use) } use("folke/zen-mode.nvim") - use("zbirenbaum/copilot.lua") + -- use("zbirenbaum/copilot.lua") + -- use { + -- "zbirenbaum/copilot-cmp", + -- after = { "copilot.lua" }, + -- config = function () + -- require("copilot_cmp").setup() + -- end + -- } + -- use("CopilotC-Nvim/CopilotChat.nvim") + -- use { - "zbirenbaum/copilot-cmp", - after = { "copilot.lua" }, - config = function () - require("copilot_cmp").setup() + "Exafunction/codeium.nvim", + requires = { + "nvim-lua/plenary.nvim", + "hrsh7th/nvim-cmp", + }, + config = function() + require("codeium").setup({ + }) end } - use("CopilotC-Nvim/CopilotChat.nvim") + -- use("eandrju/cellular-automaton.nvim") -- use("laytan/cloak.nvim") use("terrortylor/nvim-comment")