zbirenbaum / copilot-cmp

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

Copilot suggestions don't appear if keyword_length is configured to be > 1 #103

Open bsolar17 opened 5 months ago

bsolar17 commented 5 months ago

Trying to configure the Copilot cmp source like this leads to Copilot suggestion not appearing anymore:

{ name = "copilot", keyword_length = 3 },

Setting keyword_length to 0 or 1 works, as does omitting keyword_length altogether.

brendonrapp commented 3 months ago

Experiencing the same issue. As soon as keyword_length is set to 2, Copilot completions stop appearing.

doulighan commented 3 months ago

Same here. Trying to prevent copilot from making suggestions on every single keystroke, sometimes with just a closing bracket or colon.

CmpStatus shows 'copilot' as loaded and working

cosmicac commented 3 months ago

Yep, also experiencing this issue.