lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
javahippie 2021-02-06T09:41:05.351700Z

Hey! Iโ€™m trying to set up clojure-lsp on my Mac (Big Sur, 11.1), but I donโ€™t get any output from the commandline (tried zsh and bash). Tried via brew first, then downloading the binary manually. It is on my path and I have set chmod as described. The security exemption for unsigned software on Mac OS was also given. Is there any flag I can pass to the binary to debug this in some way?

javahippie 2021-02-06T09:48:03.352100Z

/tmp/lsp.out

borkdude 2021-02-06T09:56:46.352500Z

@javahippie The command line doesn't give any output afaik

javahippie 2021-02-06T09:58:11.352700Z

Ah, I misread the docs, there! Thanks. I tried to connect a lein repl to the port in the logs, and it works, so no issues at all ๐Ÿ‘

borkdude 2021-02-06T10:01:17.352900Z

why is there an nREPL server? :thinking_face:

borkdude 2021-02-06T10:02:02.353100Z

I mean, as a user of clojure-lsp you should not have to use nREPL

borkdude 2021-02-06T10:03:12.353300Z

That's not how LSP works

borkdude 2021-02-06T10:04:04.353500Z

unless you want to develop clojure-lsp perhaps

javahippie 2021-02-06T10:05:12.353700Z

I just wanted to check if itโ€™s live, so I figured I tried to connect to the server I saw in the logs

borkdude 2021-02-06T10:11:01.353900Z

ah ok

borkdude 2021-02-06T10:17:54.354400Z

Can I get docstrings without using lsp-ui?

borkdude 2021-02-06T10:23:37.354700Z

oh lsp-describe-thing-at-point

1
ericdallo 2021-02-06T15:24:50.354800Z

Yeah, check this out if you want to know more info on how to use it with Emacs: https://emacs-lsp.github.io/lsp-mode/tutorials/clojure-guide/

javahippie 2021-02-06T15:34:10.355200Z

Thanks Eric! Integrated with Emacs already and currently exploring ๐Ÿ˜‰

ericdallo 2021-02-06T15:34:23.355400Z

cool! ๐Ÿ˜„