refactor: facilitate integration from copilot.lua - #53
Conversation
9f86f0d to
1c3b631
Compare
|
I don't really understand the API wrapper. Why can't we just use the functions directly? It seems unnecessary |
|
I'm fine either way but after spending a few months maintaining copilot.lua I have often wished there was another level of redirection for others to use. That way the implementation can move as much as we want without breaking external users since you would only redirect the function in api.lua to ensure compatibility. It also centralizes/documents the various integration points. |
1c3b631 to
c89ca7e
Compare
|
Not sure why stylua is complaining, I suspect some sort of encoding issue but I have not been able to resolve it :( PS: The copilot.lua code is ready to merge once this is merged! |
9e0d39f to
9dbd77d
Compare
|
No worries I moved it to |
|
Just checking in, in case you were waiting on something from me before merging :P |
9dbd77d to
7b51032
Compare
|
done! |
|
Thank you! |
PR 2 or 3