|
|
|
|
|
by duped
638 days ago
|
|
It doesn't actually, the "server" can (and in many cases does) run in the JS event loop. 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. |
|
Yeah I know it is possible, just not trivial. So for me it was more complex to implement it in the browser than just create a simpler tree-sitter.