cambio de copilot a codeium

This commit is contained in:
serxoz 2024-04-07 13:15:41 +02:00
parent f036fe3648
commit fc5725b99c
4 changed files with 33 additions and 18 deletions

View File

@ -1,4 +1,4 @@
require('copilot').setup({
suggestion = { enabled = false },
panel = { enabled = false },
})
-- require('copilot').setup({
-- suggestion = { enabled = false },
-- panel = { enabled = false },
-- })

View File

@ -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"
-- }

View File

@ -54,8 +54,9 @@ cmp_mappings['<S-Tab>'] = 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' },
}
})

View File

@ -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")