1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 12:48: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", "hrsh7th/cmp-nvim-lsp",
}, },
}, },
{ "jcdickinson/codeium.nvim" },
-- Snippets -- Snippets
{ "L3MON4D3/LuaSnip", version = "v1.*" }, { "L3MON4D3/LuaSnip", version = "v1.*" },

View File

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

View File

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

View File

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