I got a LSP server and it is a binary. Now I could run that library at a certain PID. How could I connect to that server and do some testing using vim.lsp.buf_request
?
I do not want to use vim.lsp.start({ cmd = {'name-of-language-server-executable'} })
, because, if I am not mistaken, it will automatically run the executable and start a new process. What I am trying to do is to have the server executable already run at some PID and start a LSP client connecting to it.