Closed fedreg-bn closed 2 years ago
Solved.
Turns out that the Clojure LSP tries to set up the whole class path and get all deps, etc.
Usually I have to configure my env before starting a repl but in this case, hadn't occurred to me that the lsp would need the same setup.
Properly setting the env up before starting the LSP made it work fine with helix.
First off, amazing work on Helix everyone!! super impressive and fun to use!!
I'm trying out Helix with some LSPs and running into some issues I'm hoping someone has hit before...
This is specifically with the clojure-lsp...
When I open certain clojure projects I get these two error lines (no other logs) and the lsp does not initialize:
However, on some other projects, I get two similar lines but the lsp works just fine:
nothing substantially different about the 2 projects as far as structure, root file, etc.. maybe just a size thing; haven't experimented enough.
is there something critical about the
showMessageRequest
method that causes the whole LSP not to work if not found?The only other LSP I've tried on Helix (Elm) works great on all projects I've tried it on.
Any pointers? thx!!
version:
languages.toml: