Skip to content

Conversation

AntoineGS
Copy link
Contributor

@AntoineGS AntoineGS commented Sep 2, 2025

PR 2 or 3

@AntoineGS AntoineGS force-pushed the copilotlua_integration branch 2 times, most recently from 9f86f0d to 1c3b631 Compare September 6, 2025 01:43
@tris203
Copy link
Collaborator

tris203 commented Sep 6, 2025

I don't really understand the API wrapper. Why can't we just use the functions directly?

It seems unnecessary

@AntoineGS
Copy link
Contributor Author

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.

@AntoineGS AntoineGS force-pushed the copilotlua_integration branch from 1c3b631 to c89ca7e Compare September 12, 2025 00:04
@AntoineGS AntoineGS marked this pull request as ready for review September 12, 2025 00:08
@AntoineGS
Copy link
Contributor Author

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!

@AntoineGS AntoineGS force-pushed the copilotlua_integration branch 2 times, most recently from 9e0d39f to 9dbd77d Compare September 12, 2025 17:10
@AntoineGS
Copy link
Contributor Author

No worries I moved it to copilot.lua as to keep an abstraction between the two!

tris203
tris203 previously approved these changes Sep 13, 2025
@AntoineGS
Copy link
Contributor Author

Just checking in, in case you were waiting on something from me before merging :P

@AntoineGS
Copy link
Contributor Author

done!

@Xuyuanp Xuyuanp merged commit 5030766 into copilotlsp-nvim:main Sep 19, 2025
9 checks passed
@AntoineGS AntoineGS deleted the copilotlua_integration branch September 20, 2025 00:06
@AntoineGS
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants