zbirenbaum / copilot-cmp

Lua plugin to turn github copilot into a cmp source
MIT License
1.07k stars 38 forks source link

No copilot entries in completion menu #93

Closed siddharth99 closed 9 months ago

siddharth99 commented 10 months ago

I'm running a very simple LazyVim config with the existing support for copilot.lua (https://www.lazyvim.org/extras/coding/copilot). I am seeing that I get 2 types of completion menu's

  1. It shows all the regular sources but not copilot. This appears when I am in the middle of typing a word; please see 1st image.
  2. It only shows copilot entries, this appears only when I have completed a word etc; please see 2nd image.
image image

I have tried the suggestion to explicitly suggestion.auto_trigger = false but that didn't help with this issue; I tried all cross-combinations of suggestion.enabled & suggestion.auto_trigger but it seems to be happening regardless.

I am on the latest nvim release 0.9.2 and have all the plugins updated to HEAD yesterday.

folke commented 9 months ago

LazyVim used cmp's group_index incorrectly, resulting in the behavior you were seeing. Should be fixed now!

siddharth99 commented 9 months ago

I can confirm this looks good now, thanks!

sekomer commented 7 months ago

I'm using packer, still having this issue, how can I fix it?