You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm currently using copilot-cmp plugin as that's probably the best way to make copilot work with cmp.
It works flawlessly, until you try to use copilot completions on a new line.
I'm not good at lua, I've just started learning it thanks to neovim, but I've been able to trigger the cmp popup if copilot had suggestions and the popup wasn't there. I've put it right before the plugin wrote copilot's completions to cmp, but the popup stayd full of some random completions with none of them being copilot's.
There's also an issue on the repo where they've been discussing it and figured that it cannot be done because of how cmp works internally or something.
Is something like this possible? From what I understand the plugin let's cmp be, until it get's a completion, then it writes it into the already opened popup. But that doesn't work for whatever reason if you manually triggered the popup with no character written on the line.
Could you please point me to where to look next? I'm still trying to understand all the cmp and lua stuff and hope to come with more info and code tomorrow.
The text was updated successfully, but these errors were encountered:
Hello,
I'm currently using
copilot-cmp
plugin as that's probably the best way to make copilot work with cmp.It works flawlessly, until you try to use copilot completions on a new line.
I'm not good at lua, I've just started learning it thanks to neovim, but I've been able to trigger the cmp popup if copilot had suggestions and the popup wasn't there. I've put it right before the plugin wrote copilot's completions to cmp, but the popup stayd full of some random completions with none of them being copilot's.
There's also an issue on the repo where they've been discussing it and figured that it cannot be done because of how cmp works internally or something.
Is something like this possible? From what I understand the plugin let's cmp be, until it get's a completion, then it writes it into the already opened popup. But that doesn't work for whatever reason if you manually triggered the popup with no character written on the line.
Could you please point me to where to look next? I'm still trying to understand all the cmp and lua stuff and hope to come with more info and code tomorrow.
The text was updated successfully, but these errors were encountered: