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

Commit: `c2bcccd9348fe0a45f39ed56df64a0f3bb309c4f` breaks codeium on Neovim

Open LeonardoMor opened this issue 1 year ago • 3 comments

Along the lines of #379 and #375, this commit c2bcccd9348fe0a45f39ed56df64a0f3bb309c4f prevents the plugin from working on Neovim. Reverting to 8d4e845f125731d2de7c3036ea83f4be031c4340 partially fixes it.

Here you can see the log on DEBUG as I test the two commits:

asciicast

LeonardoMor avatar Jun 19 '24 05:06 LeonardoMor

This is broken for enterprise only. Regular codeium.vim works with no issues.

LeonardoMor avatar Jun 25 '24 17:06 LeonardoMor

Removed this and installed everything again:

rm -rf ~/.config/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.local/share/nvim

I still need to manually do :CodeiumEnable. At the start there's always this in the logs:

Exception: Server port has not been properly initialized. [function codeium#Complete[58]..codeium#server#Request, line 2]
Exception: Server port has not been properly initialized. [function codeium#Complete[58]..codeium#server#Request, line 2]
Exception: Server port has not been properly initialized. [function codeium#Complete[58]..codeium#server#Request, line 2]
Exception: Server port has not been properly initialized. [function codeium#Complete[58]..codeium#server#Request, line 2]
Exception: Server port has not been properly initialized. [function codeium#Complete[58]..codeium#server#Request, line 2]

And then after doing :CodeiumEnable manually, things look like I would expect.

Since I'm using Lazy, for now the work around is to add this to the codeium.vim spec:

		init = function()
			vim.cmd("CodeiumEnable")
		end,

LeonardoMor avatar Jun 25 '24 22:06 LeonardoMor

Related #354

LeonardoMor avatar Jun 25 '24 22:06 LeonardoMor