codeium.vim icon indicating copy to clipboard operation
codeium.vim copied to clipboard

codeium#CycleCompletions(1) fails to work in vim

Open darkseid-is opened this issue 1 year ago • 1 comments

Installed with vim-plug. Minimal working rc.

syntax on
filetype indent plugin on

call plug#begin()
        Plug 'Exafunction/codeium.vim', { 'branch': 'main' }
call plug#end()

darkseid-is avatar Feb 28 '24 06:02 darkseid-is

Rather than open a new issue I thought it best to add to this one as I have the same problem. I am using Neovim although it's generally been working okay for me until now. I'm not sure if something has changed. Basically when I try and cycle through the completions Codeium acts as if I've performed the accept command.

I did try reinstalling but that has no effect. I even disabled everything aside from Codeium but this had no effect either.

I'm using LazyVim with minimal configuration:

{
  'Exafunction/codeium.vim',
  event = 'BufEnter'
}

I then set the following key mapping:

vim.keymap.set('i', '<c-k>', fjnction() return vim.fn['codeium#CycleCompletions'](1) end, { expr = true, silent = true, desc = 'Codeium Cycle Completions' })

Any help appreciated :-)

matthewblott avatar Sep 30 '24 12:09 matthewblott