-
Notifications
You must be signed in to change notification settings - Fork 67
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
not getting any sources on cmp
from copilot.lua
#24
Comments
Same problem as well. No updates at all. Not sure if the problem lies to my recent update on neovim or something else. |
Might be a
|
This is very strange, are both of you on the same platform? The cmp source comes from copilot-cmp so it would likely be an issue in there, unless one of you has LspInfo not showing copilot |
I created an issue there. |
Instinct is telling me this is a breaking change in nvim-cmp so I'll check it out, but I can't figure out why I can't reproduce it if that's the case... |
The issue occurs on my work MacBook running macOS (nix package manager) and on my ThinkPad with Linux (NixOS). |
That's very helpful, thank you! |
I am experiencing the same. macOS, compulsively running on latest nvim/cmp versions. Whatever it is, the change happened in the last 48 hrs |
I'm on linux. Arch distro more specific |
Same issue here. I'm on Pop!_OS |
+1 running arch here.
|
What I don't get is why I can't seem to trigger this on either of my arch systems. Can anyone with a bit more technical knowledge edit the files in copilot-cmp to get a better idea of exactly where it is that this error occurs? |
@zbirenbaum I straced the copilot process (nothing was coming up in the logs and I can see)
I noticed this community/community#16423 so I suspect something has changed on copilot back end and this is related |
Thanks, this is just the type of info I was hoping for! I just updated the copilot agent to the latest version, so hopefully that fixes things. If it doesn't I'll go into copilot.vim and see if any new api changes of note were made. I apologize to everyone here that this is such a big issue and taking a bit to fix, I am graduating on Sunday and was busy trying to get everything in by Monday morning when some of my final submissions were due. I'll try to have this figured out before Friday, but if I can't by then it may have to wait until next week since I have graduation stuff and moveout all weekend, and then a long drive back home to make :( |
@zbirenbaum I'm now seeing
I then added
to get_completion_parameters and that seemed to fix it. But on that note, congratulations and go and enjoy your graduation, we can all wait till next week 😀 |
yes no problem take the time you need |
@johnf where did you add the |
@marcelarie I've created a pull request #25 |
I think this can be closed thanks to @johnf! If the issue persists please let me know, but I did some pretty thorough testing and it seems mostly fine. Couple of quick side notes:
|
I can't get the source on
cmp
forcopilot.lua
, I debugged the sources that arrive at thecmp
setup and there is no source coming fromcopilot.lua
so the error should come from this plugin (I think…).copilot.vim
works and the user auth works correctly.I tried to create a minimal config, but I can't get it to work, here is the minimal config:
In my configuration,
cmp
works with all the other sources without any problem.The text was updated successfully, but these errors were encountered: