Closed TroySigX closed 1 year ago
The problem is actually the interaction between Codeium and cmp. Right now you will get suggestions beginning from the start of the current word, e.g. in your last suggestion the suggestions actually begin at the $
sign:
void sieve(){
for($int
}
This means that if Codeium suggested something that doesn't begin with int
, cmp will filter it out. I'm not sure how to fix this.
I'm sorry for the confusing title, but what I meant was, typing shorter word (e.g for
) will only trigger codeium to suggest 1-line suggestions, but typing longer ones (e.g for(int
) will also make codeium to suggest multi-line suggestions.
In order to trigger
codeium.nvim
's multiline suggestions, I need to write a lot of characters first. Here's my case, open a cpp file and type:In the function body, when typing
for
only (first thing to do to make a sieve):I would expect
codeium.nvim
to suggest the rest of the function (likecodeium
on browser did), but in fact, it just suggested 1-line suggestion. But then I tried typing more characters, e.gfor(int
:It starts working properly and suggests multiline suggestions. Is there a way to fix it?