Fork me on GitHub
#lsp
<
2021-04-09
>
rickmoynihan11:04:36

I have a repository with two clojure projects in it (a client and a server). When using clojure-lsp (with emacs) it seems the unused var detection is wrong. I was wondering if it could be that it doesn’t know where the project root is? Is there anything I can do to debug this?

ericdallo12:04:57

It will depend on the project root configured by you when you first imported the project

ericdallo12:04:37

You can lsp-workspace-folders-remove and then lsp

ericdallo12:04:47

Then select the project root manually

rickmoynihan14:04:36

Thanks for the explanation :thumbsup: That seems to fix it

rickmoynihan11:04:06

clj-kondo seems to report it correctly