This makes so starting an lsp returns an LspRef.
This just provides utility functions to make talking to the LSP simpler, but it will just use PLUGIN_RPC under the hood.
I've marked the functions with the suffix lsp_send_request_blocking because I expect that in the future we'll want to make callback (or rust's async? eh) based versions, since a plugin shouldn't stall out if the lsp is being slow to reply.
This makes so starting an lsp returns an
LspRef
.This just provides utility functions to make talking to the LSP simpler, but it will just use
PLUGIN_RPC
under the hood.I've marked the functions with the suffix
lsp_send_request_blocking
because I expect that in the future we'll want to make callback (or rust'sasync
? eh) based versions, since a plugin shouldn't stall out if the lsp is being slow to reply.