feat: ✨ AI Code-completion
Implements AI code completion powered by Codeium
This commit is contained in:
@@ -53,6 +53,7 @@ The rootiest neovim configuration you will ever see!
|
|||||||
- LSP support for many languages and automatic setup for many more
|
- LSP support for many languages and automatic setup for many more
|
||||||
- Remotely spawn a neovim instance over ssh, in a container, or from a git repo
|
- Remotely spawn a neovim instance over ssh, in a container, or from a git repo
|
||||||
- Dashboard logo adjusts to the size of the window
|
- Dashboard logo adjusts to the size of the window
|
||||||
|
- Codeium-powered AI completion
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
|||||||
@@ -282,20 +282,11 @@ require("lazy").setup({
|
|||||||
MiniIcons.mock_nvim_web_devicons()
|
MiniIcons.mock_nvim_web_devicons()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"zbirenbaum/copilot.lua",
|
|
||||||
cmd = "Copilot",
|
|
||||||
event = "InsertEnter",
|
|
||||||
config = function()
|
|
||||||
require("copilot").setup({})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Exafunction/codeium.vim",
|
"Exafunction/codeium.vim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "BufEnter",
|
event = "BufEnter",
|
||||||
config = function()
|
config = function()
|
||||||
-- Change '<C-g>' here to any keycode you like.
|
|
||||||
vim.keymap.set("i", "<C-g>", function()
|
vim.keymap.set("i", "<C-g>", function()
|
||||||
return vim.fn["codeium#Accept"]()
|
return vim.fn["codeium#Accept"]()
|
||||||
end, { expr = true, silent = true })
|
end, { expr = true, silent = true })
|
||||||
|
|||||||
Reference in New Issue
Block a user