feat: AI Code-completion

Implements AI code completion powered by Codeium
This commit is contained in:
2024-07-06 07:57:52 -04:00
parent bdc40625de
commit f7204c015e
2 changed files with 1 additions and 9 deletions
-9
View File
@@ -282,20 +282,11 @@ require("lazy").setup({
MiniIcons.mock_nvim_web_devicons()
end,
},
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({})
end,
},
{
"Exafunction/codeium.vim",
lazy = true,
event = "BufEnter",
config = function()
-- Change '<C-g>' here to any keycode you like.
vim.keymap.set("i", "<C-g>", function()
return vim.fn["codeium#Accept"]()
end, { expr = true, silent = true })