diff --git a/lazy-lock.json b/lazy-lock.json index cebed23..8e03de3 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -10,6 +10,7 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, "code_runner.nvim": { "branch": "main", "commit": "01ce754d162170a3fcf372ad9f188a65c010f235" }, + "codeium.vim": { "branch": "main", "commit": "1715a11fe4882205119810371bb57b5e48509486" }, "dressing.nvim": { "branch": "master", "commit": "5fb5cce0cbfcedeadbcee43e5674e8c9a9f28d4a" }, "fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, "friendly-snippets": { "branch": "main", "commit": "5749f093759c29e3694053d048ceb940fe12c3d3" }, diff --git a/lua/custom/plugins/codeium.lua b/lua/custom/plugins/codeium.lua index ac10192..e04f68d 100644 --- a/lua/custom/plugins/codeium.lua +++ b/lua/custom/plugins/codeium.lua @@ -1,21 +1,21 @@ vim.g.codeium_disable_bindings = 1 return { - -- "Exafunction/codeium.vim", - -- enabled = true, - -- event = "InsertEnter", - -- config = function() - -- -- Change '' here to any keycode you like. - -- vim.keymap.set("i", "", function() - -- return vim.fn["codeium#Accept"]() - -- end, { expr = true }) - -- vim.keymap.set("i", "", function() - -- return vim.fn["codeium#CycleCompletions"](1) - -- end, { expr = true }) - -- vim.keymap.set("i", "", function() - -- return vim.fn["codeium#CycleCompletions"](-1) - -- end, { expr = true }) - -- vim.keymap.set("i", "", function() - -- return vim.fn["codeium#Clear"]() - -- end, { expr = true }) - -- end, + "Exafunction/codeium.vim", + enabled = true, + event = "InsertEnter", + config = function() + -- Change '' here to any keycode you like. + vim.keymap.set("i", "", function() + return vim.fn["codeium#Accept"]() + end, { expr = true }) + vim.keymap.set("i", "", function() + return vim.fn["codeium#CycleCompletions"](1) + end, { expr = true }) + vim.keymap.set("i", "", function() + return vim.fn["codeium#CycleCompletions"](-1) + end, { expr = true }) + vim.keymap.set("i", "", function() + return vim.fn["codeium#Clear"]() + end, { expr = true }) + end, }