From 2b1f625c7016a516f9f325f63aaacc7ba856f2e9 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sat, 22 Apr 2023 16:13:28 +0200 Subject: [PATCH] [neovim] Add codeium plugin --- .config/nvim/lua/core/plugins.lua | 1 + .config/nvim/lua/plugins/cmp.lua | 2 ++ .config/nvim/lua/plugins/codeium.lua | 1 + .config/nvim/lua/plugins/init.lua | 1 + 4 files changed, 5 insertions(+) create mode 100644 .config/nvim/lua/plugins/codeium.lua diff --git a/.config/nvim/lua/core/plugins.lua b/.config/nvim/lua/core/plugins.lua index 318cd13..fdb63f0 100644 --- a/.config/nvim/lua/core/plugins.lua +++ b/.config/nvim/lua/core/plugins.lua @@ -105,6 +105,7 @@ require("lazy").setup({ "hrsh7th/cmp-nvim-lsp", }, }, + { "jcdickinson/codeium.nvim" }, -- Snippets { "L3MON4D3/LuaSnip", version = "v1.*" }, diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua index be04f08..80e8273 100644 --- a/.config/nvim/lua/plugins/cmp.lua +++ b/.config/nvim/lua/plugins/cmp.lua @@ -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, diff --git a/.config/nvim/lua/plugins/codeium.lua b/.config/nvim/lua/plugins/codeium.lua new file mode 100644 index 0000000..b5fe92d --- /dev/null +++ b/.config/nvim/lua/plugins/codeium.lua @@ -0,0 +1 @@ +require("codeium").setup({}) diff --git a/.config/nvim/lua/plugins/init.lua b/.config/nvim/lua/plugins/init.lua index 22b7778..5153238 100644 --- a/.config/nvim/lua/plugins/init.lua +++ b/.config/nvim/lua/plugins/init.lua @@ -1,4 +1,5 @@ require("plugins.cmp") +require("plugins.codeium") require("plugins.telescope") require("plugins.starter") require("plugins.treesitter")