by paranoidxprod · 2y ago · 0 comments
I can recommend a nice video series on implementing LSP from scratch: https://youtube.com/playlist?list=PLq5tGLDKHlW9XKRj5-plHdvbk...
This is my starting point for implementing language servers in Zig: https://github.com/kristoff-it/zig-lsp-kit
Do you want the protocol to specify that language servers are able to run in a browser? Because that's very outside the scope of the protocol, which doesn't constrain the client or server implementations. LSP doesn't define the transport layer between them, just that they should use JSON RPC.