From da416417d8c71d148a235dff8e6fd11d8f5ce2e9 Mon Sep 17 00:00:00 2001 From: "asep.komarudin" Date: Wed, 5 Jun 2024 14:17:54 +0700 Subject: [PATCH] add:codeium config --- lazy-lock.json | 2 +- lua/plugins/{codeioum.lua => codeium.lua} | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) rename lua/plugins/{codeioum.lua => codeium.lua} (75%) diff --git a/lazy-lock.json b/lazy-lock.json index 9ab066c..cd465db 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -37,7 +37,7 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" }, "nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" }, - "nvim-treesitter": { "branch": "master", "commit": "69e41a2c1405ad9626ed502b86e75245f8118531" }, + "nvim-treesitter": { "branch": "master", "commit": "49e4e2b4b62360677568c47b6467f31c809b391c" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "fd41b7ccc5490a3a99c734d1ee418b68d06c48a9" }, "nvim-ts-autotag": { "branch": "main", "commit": "6eb4120a1aadef07ac312f1c4bc6456712220007" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" }, diff --git a/lua/plugins/codeioum.lua b/lua/plugins/codeium.lua similarity index 75% rename from lua/plugins/codeioum.lua rename to lua/plugins/codeium.lua index 7e8ac69..17c398e 100644 --- a/lua/plugins/codeioum.lua +++ b/lua/plugins/codeium.lua @@ -15,9 +15,15 @@ if vim.g.pcode_codeium then vim.keymap.set("i", "", function() return vim.fn["codeium#CycleCompletions"](1) end, { expr = true, silent = true }) + vim.keymap.set("i", "", function() + return vim.fn["codeium#CycleCompletions"](1) + end, { expr = true, silent = true }) vim.keymap.set("i", "", function() return vim.fn["codeium#CycleCompletions"](-1) end, { expr = true, silent = true }) + vim.keymap.set("i", "", function() + return vim.fn["codeium#CycleCompletions"](-1) + end, { expr = true, silent = true }) vim.keymap.set("i", "", function() return vim.fn["codeium#Clear"]() end, { expr = true, silent = true })