Antoine Gaudreau Simard
Antoine Gaudreau Simard
@zbirenbaum I do not mind putting my own creds in but I would need the security clearance 😉
Yeah I've seen this too it has been an issue for a while, thanks for opening an issue it'll motivate me to look into it 😂
Also running into this issue :)
Thank you for figuring out the root cause! I will work on a fix :)
In the current version, it seems that using `:Copilot auth` when you have the token env variable set works. However it does not autologin so I am investigating that part,...
So I still cannot replicate the nil error, however throughout my tests (and asking tpope maintainer of copilot.vim) that the token generated by the `gh` cli tool is not compatible...
Are you also on OSX? Can you try both with the config server.type = binary and server.type = nodejs?
Hmm, not sure. Try downloading it from the official LSP repo and setting the path manually. I described how to do it [here](https://github.com/zbirenbaum/copilot.lua/issues/443#issuecomment-2787952765) on another Issue.
What happens if you run it directly from the command line? Like: `./copilot-language-server-1.298.0 --stdio` for the binary and `node language-server.js --stdio`? Do you got an error or does it just...
This one bugs me as I have no idea why it behaves this way in your environment :( If ever I stumble on something I will report back here, though...