With eglot+clojure-lsp: I have a project where the clojure project root is a subfolder of the project root directory. For this project I don't get clj-kondo/flymake entries. Is there a tweak I can set to make it work? (It works fine for projects that are not in subfolders of the git root).
you should configure the lsp project root properly, if the root project is not a clojure project or is not a mono-repo clojure, you should configure eglot to have your lsp project root at your subproject, not sure how to do this tho, only with lsp-mode
Yeah I think it's maybe not possible with eglot.
the "module" has a deps.edn?
yup
company for example seems to work just fine. It's only the kondo stuff that misbehaves.
strange, most of our projects are like this and I don't have any issue
(using eglot)
are you sure you don't have any custom .clj-kondo/config.edn config that may disable that? try running clojure-lsp diagnostics on the subproject to make sure diagnostics are being returned
Oh wait, it's only on a single file, I'll check, it's something silly for sure!
Hmm, okay, well.. now it works again. Sorry for the noise 😞
I just added an unused require and saved, which then triggered everything to work again.