Exafunction / codeium.nvim

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

[FR] Provide as completion source for coc.nvim #114

Open FalcoGer opened 7 months ago

FalcoGer commented 7 months ago

It would be nice if there were some way to make this work with the coc.nvim plugin, which provides completions.

I'm invested in coc now and installing the various dependencies for vim-cmp will likely be a hassle and possibly cause compatibility issues.

I tried bridging the language server with netcat, because coc uses stdin/stdout. However it seems that neither port started by the language server executable is capable of speaking what coc sends. coc starts with "Content Length: 5575\n\n", but the server replies with 400 Bad request and closes the connection.

Here is some reference material.

Maybe if you provide a --stdio option, not starting a listening port but just accept stdin/stdout without the http protocol, that would be sufficient to configure coc with a manual language server configuration.