codeium #1

Merged
serxoz merged 2 commits from codeium into master 2024-04-17 16:44:37 +02:00
4 changed files with 34 additions and 18 deletions

View File

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

View File

@ -1,6 +1,6 @@
require("CopilotChat").setup{ -- require("CopilotChat").setup{
show_help = "yes", -- show_help = "yes",
debug = false, -- debug = false,
disable_extra_info = 'no', -- disable_extra_info = 'no',
language = "Spanish" -- language = "Spanish"
} -- }

View File

@ -54,8 +54,9 @@ cmp_mappings['<S-Tab>'] = nil
lsp.setup_nvim_cmp({ lsp.setup_nvim_cmp({
mapping = cmp_mappings, mapping = cmp_mappings,
sources = { sources = {
-- Copilot sources -- AI sources
{ name = 'copilot' }, -- { name = 'copilot' },
{ name = 'codeium' },
-- Other sources -- Other sources
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'buffer' }, { name = 'buffer' },
@ -64,6 +65,7 @@ lsp.setup_nvim_cmp({
{ name = 'emoji' }, { name = 'emoji' },
{ name = 'treesitter' }, { name = 'treesitter' },
{ name = 'vsnip' }, { name = 'vsnip' },
{ name = 'luasnip' },
} }
}) })

View File

@ -60,15 +60,29 @@ return require('packer').startup(function(use)
} }
use("folke/zen-mode.nvim") 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 { use {
"zbirenbaum/copilot-cmp", "Exafunction/codeium.nvim",
after = { "copilot.lua" }, requires = {
config = function () "nvim-lua/plenary.nvim",
require("copilot_cmp").setup() "hrsh7th/nvim-cmp",
},
config = function()
require("codeium").setup({
enable_chat = true,
})
end end
} }
use("CopilotC-Nvim/CopilotChat.nvim") --
use("eandrju/cellular-automaton.nvim") use("eandrju/cellular-automaton.nvim")
-- use("laytan/cloak.nvim") -- use("laytan/cloak.nvim")
use("terrortylor/nvim-comment") use("terrortylor/nvim-comment")