tliron / glsp

Language Server Protocol SDK for Go
Apache License 2.0
184 stars 25 forks source link

exposed the websocket interface to make it more customizable #22

Closed bafto closed 1 year ago

bafto commented 1 year ago

In an online playground I am currently developing (https://github.com/DDP-Projekt/Spielplatz) I am using my fork of this repos with this little modification to make the language server work with an arbitrary websocket connection.

Maybe you want to incorporate this change into the main repo, maybe not. If not, I'm fine just using my fork.

Example usage: https://github.com/DDP-Projekt/Spielplatz/blob/main/server/server.go#L120C12-L120C26

tliron commented 1 year ago

Thanks for this!!! I definitely want to accept this, will try to review and approve this weekend.