Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error for simple code completion #254

Open
jwbullard opened this issue Oct 18, 2024 · 4 comments
Open

Error for simple code completion #254

jwbullard opened this issue Oct 18, 2024 · 4 comments

Comments

@jwbullard
Copy link

This may not be a new issue, but I've looked around on stackexchange and reddit without success.

I just installed the plugin for neovim using lazy.nvim. I did the authorization (seemed to go okay) and :CmpStatus now shows codeium under the list of "ready source names". But when I try the canonical example by opening a new fib.py file and typing

def fib(n):

there is no suggested autocompletion. Nothing happens at all. I have attached the error log for codeium and I'm hoping someone might have a suggestion about what I'm doing wrong.

codeium.log.log

@lucabenaventew
Copy link

Yes, Im currently having the same error, It doesnt suggest any completion.
Also using nvim. Hope they can fix this soon.

@dimfeld
Copy link
Contributor

dimfeld commented Oct 19, 2024

For now you might consider trying my branch https://github.com/dimfeld/codeium.nvim/tree/all-fixes.

Despite the branch name, the only changes are that it incorporates my virtual text PR and that it's running the latest language server version. It's working fine for me right now, can't make any guarantees but hope it helps.

@knubbbe
Copy link

knubbbe commented Oct 28, 2024

I had the same problem. But after some testing it started working when I manually added the option enable_cmp_source = true to require("codeium").setup({}).
Like this: require("codeium").setup({ enable_cmp_source = true })
I also have codeium manually added in nvim-cmp as a source:

sources = cmp.config.sources({
    { name = "codeium", max_item_count = 40, priority = 1500 },
})

Not sure if thats needed though.

@jwbullard
Copy link
Author

jwbullard commented Oct 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants