Closed samarth-nagar closed 5 months ago
Hey @samarth-nagar, if you are using codeium.vim, just switch back to previous version, it will fix it for now.
use({
"Exafunction/codeium.vim",
commit = "a1c3d6b369a18514d656dac149de807becacbdf7",
})
This works for me ^^
thanks but where do put that commit data? im using lazy
Just add a commit
value, it should work I believe:
eg:
{
"repo/plugin",
commit = "commit SHA"
...
}
ref: https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-spec
thanks but where do put that commit data? im using lazy
{
"hrsh7th/nvim-cmp",
dependencies = {
{ "Exafunction/codeium.vim", lazy = true, commit = "a1c3d6b369a18514d656dac149de807becacbdf7" },
lazy = true,
},
i too am facing this issue
for anyone whos facing the same issue the fix that @PiyushDuggal-source has given is valid my code looks something like this but you must use reinstall or reload to see changes i'd recommend deleting and re installing with the commit line
return {
'Exafunction/codeium.vim',
commit = "a1c3d6b369a18514d656dac149de807becacbdf7",
config = function()
-- Change '<C-g>' here to any keycode you like.
vim.keymap.set('i', '<C-f>', function() return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
vim.keymap.set('i', '<c-g>', function() return vim.fn['codeium#CycleCompletions'](1) end,
{ expr = true, silent = true })
vim.keymap.set('i', '<c-d>', function() return vim.fn['codeium#CycleCompletions'](-1) end,
{ expr = true, silent = true })
vim.keymap.set('i', '<c-x>', function() return vim.fn['codeium#Clear']() end, { expr = true, silent = true })
end
}
but you must go to the /Exafunction/codeium.vim/issues/308 and start an issue there or like the the one issue noticing tht question
+1 facing the same issue
in locale
cd ~/.vim/pack/Exafunction/start/codeium.vim
git checkout a1c3d6b369a18514d656dac149de807becacbdf7
temporary fix
Closing this in favor of https://github.com/Exafunction/codeium.vim/issues/308
(Note that this error is specific to codeium.vim)
false alarm this issue is from codeium.vim not codeium.nvim