cider

weavejester 2025-09-25T00:21:32.115709Z

I've noticed that Cider overrides any vars I've added to the user namespace if they have the same name as a var from clojure.repl. For instance, my local doc function is override by clojure.repl/doc. I haven't been able to find where in the codebase it does this, though, or how to prevent it.

weavejester 2025-09-25T00:33:24.019359Z

Ah, looks like cider-repl-init-code might be the answer.

weavejester 2025-09-25T00:55:41.805199Z

And indeed it is.

bozhidar 2025-09-25T08:22:17.973939Z

Indeed. This was done mostly so that the CIDER REPL behaves similarly to the standard CLI REPL.