Exafunction / codeium.vim

Free, ultrafast Copilot alternative for Vim and Neovim
https://codeium.com
MIT License
4.12k stars 147 forks source link

nvim 0.9 windows 11 Auth token error #202

Open 2Senn opened 1 year ago

2Senn commented 1 year ago

Error detected while processing function codeium#command#Command[6]..1: line 66: E474: Attempt to decode a blank string E474: Failed to parse

I get this error when I try to enter my auth token. I've seen others mention this in closed issues but none of the solutions mentioned worked for me( I tried deleting the bin file that contains the language server exe but that did not work either.

2Senn commented 1 year ago

Ok so something is wrong with executing the curl command inside neovim. I tried executing outside using the terminal and it worked just fine. Then I manually added the key and created a config.json file. I am not really sure what is causing the curl to fail inside neovim but it could be permissions or something that has to do with env variables.

2Senn commented 1 year ago

Some pointers: