Fork me on GitHub
#clj-kondo
<
2019-12-17
>
ericdallo18:12:32

Hi @borkdude, can I use clj-kondo.lsp(https://github.com/borkdude/clj-kondo.lsp) with lsp-mode (https://github.com/emacs-lsp/lsp-mode) on emacs?

borkdude18:12:53

@ericdallo should be possible I think, although I didn't test it. Here are the instructions for IntelliJ LSP: https://github.com/borkdude/clj-kondo/blob/master/doc/editor-integration.md#lsp-server

borkdude18:12:11

If you figure this out, some docs would be nice 🙂

borkdude18:12:38

Why are you interested, does the binary not work for you?

ericdallo18:12:45

Cool, I was just wondering if I can use clj-kondo with a different UI than flycheck, like lsp-ui , i think that just with lsp-mode i can achieve this, right?

borkdude18:12:54

I think so yes

borkdude18:12:24

It works in VSCode and IntelliJ with the same server

ericdallo19:12:36

Nice, I will give a try configuring this on emacs and notice you if it work, thanks!

ericdallo23:12:14

@borkdude Currently lsp-mode only supports clojure-lsp (https://github.com/snoe/clojure-lsp) as a clojure LSP, but we can open a PR adding clj-kondo as another option(like other lsp languages already do, like rust and c++). I created a bash script with java -jar clj-kondo-lsp-server.jar and just changed my lsp-mode to point to this script and it works! parrot