Hi. I'm wondering if there are any docs on how to set up configuration for clj-kondo in lsp, please? All I can find are references to .clj-kondo/config.edn, which lsp-clojure doesn't pick up, or .lsp/config.edn which is either not being picked up, or I've misconfigured.
clj-kondo config should go into .clj-kondo/config.edn` in your project, not globally
Yes, that's right
that should just work
oh
even without restarting lsp
but it could be that you have misconfigured the clojure-lsp project root, perhaps
well, it works if I run clj-kondo from the cli, so I'm reasonably comfortable that the clj-kondo config is correct
how does one configure the clojure-lsp project root, please?
maybe you can try lsp-workspace-folders-remove (I assume you're using emacs, right?)
and after that I think lsp will ask you to reconfirm the project root
I tried this (unexpectedly, it suggested my maven repo directory, but I removed the root of the project instead), but it hasn't suggested anything to me
perhaps try lsp-workspace-restart
try lsp-workspace-remove-all-folders
and then restart
this worked. Thank you!