lsp

borkdude 2026-03-17T11:17:44.343139Z

Hi @ericdallo . I'm trying to use cljfmt through clojure-lsp but also via the command line and I'm getting different results. I'm trying to sort out when clojure-lsp honors cljfmt.edn in a project root. It seems it's completely ignored unless I strip all :cljfmt configs in lsp? Shouldn't these be merged? Another issue: it looks like clojure-lsp format --dry is ignoring :paths and also formats resources

ericdallo 2026-03-17T12:00:23.244849Z

hum there is a chance we are not merging, but we should do, feel free to create a issue about it

ericdallo 2026-03-17T12:00:30.837679Z

what you mean about :paths ? where?

borkdude 2026-03-17T12:07:46.661509Z

@holger311

borkdude 2026-03-17T12:08:52.871749Z

I think the issue may be that it doesn't respect :paths from cljfmt.edn and formats even though you provide --dry?

ericdallo 2026-03-17T12:09:21.516269Z

ah yes, it doesn't, it always follow clojure-lsp source-paths resolution