lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
Mitch 2020-09-28T18:27:36.002200Z

Sorry if this is the wrong place, but is there a simple way to communicate with a running lsp server? Emacs shows them bound to a port, but I am not quite sure how I should be hitting the service other than just connecting to the packaged nrepl

Mitch 2020-09-29T11:45:50.008700Z

thank you sir 😄

👍 1
ericdallo 2020-09-28T19:49:16.003Z

the communication with a LSP server is done only via stdio using the LSP protocol via json

ericdallo 2020-09-28T19:49:55.003200Z

clojure-lsp for example have a a custom method called server-info which responds some info about the server, and lsp-mode already knows how to call that

ericdallo 2020-09-28T19:50:06.003400Z

you need just to M-x lsp-clojure-server-info