This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-23
Channels
- # aws (3)
- # babashka (17)
- # beginners (44)
- # boot (1)
- # bristol-clojurians (1)
- # cider (19)
- # clj-kondo (7)
- # cljfx (5)
- # clojure (35)
- # clojure-australia (25)
- # clojure-europe (41)
- # clojure-nl (4)
- # clojure-spec (5)
- # clojure-uk (104)
- # clojuredesign-podcast (1)
- # clojurescript (41)
- # component (6)
- # conjure (5)
- # core-async (20)
- # core-logic (5)
- # cryogen (7)
- # cursive (4)
- # data-science (1)
- # datomic (14)
- # devcards (2)
- # events (1)
- # fulcro (6)
- # helix (6)
- # jobs (4)
- # kaocha (4)
- # lambdaisland (4)
- # leiningen (3)
- # luminus (1)
- # malli (2)
- # meander (2)
- # mount (6)
- # off-topic (2)
- # pedestal (25)
- # rdf (1)
- # re-frame (17)
- # reagent (5)
- # releases (1)
- # reveal (13)
- # rewrite-clj (45)
- # shadow-cljs (27)
- # sql (18)
- # tools-deps (93)
- # vim (13)
- # xtdb (11)
I'm trying to install the clj-kondo lsp server again. I got it running in the past, but this time I hit a problem. First, when I run java -jar clj-kondo-lsp-server.jar the process starts but it does give any output. Is that normal? Second, in spacemacs I get an error LSP :: Connected to [clojure-lsp:21508 status:starting]. LSP :: clojure-lsp has exited (exited abnormally with code 1) Server clojure-lsp:21508 status:starting exited with status exit. Do you want to restart it? (y or n) n I don't know why it talks about clojure-lsp, I configured it as described on your github to run the clj-kondo-lsp-server.jar. Any ideas?
> the process starts but it does give any output. Is that normal? Yes, it just waits for a connection This seems more like a configuration issue on your end than an issue with clj-kondo LSP since it doesn't not have any dependency on clojure-lsp
Ok, I'll check.
This is the config I used previously (It has been a while since I tested it).
https://github.com/practicalli/spacemacs.d/blob/live/init.el#L974-L987
The only difference is I use a script called clojure-lsp-server-clj-kondo
to wrap the java command to run the LSP server.
If you dont fix it I can try this again later today.
Thanks, I solved it. In the dotspacemacs file I had to put a complete path from root to the jar iso a relative path from home.
Having to use the full path is why I used a script instead, to make the Emacs config more portable
FYI. The https://github.com/marketplace/actions/setup-clj-kondo GitHub actions for clj-kondo was updated 13 days ago to resolve the deprecation of add-paths in GitHub actions. I just updated and the new version, - uses: DeLaGuardo/setup-clj-kondo@master
is working well. Thanks.
Thanks, I solved it. In the dotspacemacs file I had to put a complete path from root to the jar iso a relative path from home.