zbirenbaum / copilot-cmp

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

(fix): #90 incorrect character insertion #92

Closed zbirenbaum closed 10 months ago

zbirenbaum commented 10 months ago

This PR actually does a lot, but the primary motivation was to fix the issue with extra characters being inserted. This also fixes relative indent issues from copilot which primarily occur when completions are fetched on an empty or indent-only line.

Overall greatly increases consistency and improves experience. Should resolve a number of problems. I'm PR'ing so it can be tested before merge since changes are fairly extensive here.

ovspianist commented 10 months ago

Thanks a lot for the fix!