1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 06:58:01 +00:00

[neovim] Add codeium plugin

This commit is contained in:
Daniel Carrillo 2023-04-22 16:13:28 +02:00
parent 2e6da3cddd
commit 2b1f625c70
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
4 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,7 @@ require("lazy").setup({
"hrsh7th/cmp-nvim-lsp",
},
},
{ "jcdickinson/codeium.nvim" },
-- Snippets
{ "L3MON4D3/LuaSnip", version = "v1.*" },

View File

@ -92,6 +92,7 @@ cmp.setup({
nvim_lsp = "[lsp]",
luasnip = "[snip]",
buffer = "[local]",
codeium = "[AI]",
path = "",
emoji = "",
})[entry.source.name]
@ -103,6 +104,7 @@ cmp.setup({
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },
{ name = "codeium" },
},
confirm_opts = {
behavior = cmp.ConfirmBehavior.Replace,

View File

@ -0,0 +1 @@
require("codeium").setup({})

View File

@ -1,4 +1,5 @@
require("plugins.cmp")
require("plugins.codeium")
require("plugins.telescope")
require("plugins.starter")
require("plugins.treesitter")