Exafunction / codeium.nvim

A native neovim extension for Codeium
MIT License
644 stars 50 forks source link

[bug] different completions in comparison with codeium.vim #117

Open kaiphat opened 7 months ago

kaiphat commented 7 months ago

Codeium.nvim

  1. Type const fibo. There aren't competions.

    image
  2. Manually trigger cmp completion

    image
  3. Select first choice

    image

Codeium.vim:

  1. Just type const fibo. And great works when i continue typing. image
kaiphat commented 7 months ago

My cmp configuration: https://github.com/kaiphat/dotfiles/blob/master/nvim/lua/plugins/cmp.lua

pqn commented 7 months ago

It does seem weird that codeium.nvim doesn't trigger a completion automatically. However, it's worth noting that there isn't determinism for what the server might return to you, for various reasons.

kaiphat commented 7 months ago

Yes, i understand, mb problem with cmp completion for several lines.

gonviegas commented 7 months ago

I use codeium.nvim and codeium.vim to have the best of both worlds:

2023-12-02-133034_580x194_scrot 2023-12-02-133027_1005x316_scrot

kaiphat commented 7 months ago

I'm glad to see that, but i checked your config and didn't find any special. Mb you are using paid version of codeium?

gonviegas commented 7 months ago

My config isn't updated, cant remember last time I did update it. I had the same problem as you regarding showing multi line completion and I know I did something to fix it but can't remember what...

gonviegas commented 7 months ago

My neovim config is updated now, check it out here. Check the cmp config, might help you.

Edit: I use codeium free version

kaiphat commented 7 months ago

Thank you! I checked, but anyway didn't found solution. Also strange that even in vim version i don't have full function body completion.

image
kaiphat commented 6 months ago

The same problem in copilot https://github.com/zbirenbaum/copilot-cmp/issues/87

gonviegas commented 6 months ago

Files with a defined type may limit the output. Try to do const fibo in a empty file without its extension and check if the codeium suggestion is complete.

cxwx commented 2 months ago

still don't know how to complete with multi line