cursive 2025-12-12

I have a defn-pred macro that creates multiple arities. (defn-pred [arg1 arg2] body) also creates (defn-pred [arg1] (fn [arg2] body) Now I get a few warnings about wrong arities. Is there any way we can configure this / cursive can run the macro? cc @cfleming

@cfleming I've written a clj-kondo hook for the macro they wrote for this. Navigation works now with clojure-lsp too. But I guess that's not of much help for Cursive users. Perhaps Cursive could partially lean on analysis information from clj-kondo if it can't resolve stuff otherwise although I'd understand that this would be a big change...

Sorry the correct usage would be

(foo "bar" "baz")
((foo "bar") "baz")

Marking the defn-pred resolve as None doesn't help much, now all the functions aren't resolved and throw warnings / i can't navigate with them ofc