val-town / codemirror-codeium

Codeium code completion integration for CodeMirror 6
https://val-town.github.io/codemirror-codeium/
Other
50 stars 3 forks source link

Reuse types across methods, keep all suggestions #30

Closed tmcw closed 3 months ago

tmcw commented 3 months ago

This works toward #11 - we were throwing away all suggestions but the first. This cleans up our types and lets us keep all the suggestions around.

We also, I think, can really simplify some of these types, and this PR does that - it removes some functional indirection.