spacemacs 2023-03-18

For some reason, cider-pprint-evel-defun-at-point still prints, but doesn't print pretty anymore. Does anyone know what I can do to address this?

for hash-maps I get pretty printed output, but a sequence containing a hash-map is printing it flat (very small code sample though) If example code can be shared I can give it a try

I figured out what it was

so when I so cider-jack-in-clj I get pretty printing just find. When I start a repl from terminal and do cider-connect-clj I lose pretty printing.

The issue may be due to cider-nrepl middleware not being included when starting a repl in the terminal For Clojure CLI I use an alias as follows to include the cider-nrepl middleware (I assume Leiningen would include it as an alias - its been a while)

;; Interactive client REPL with nREPL server for Clojure Editor support
  :repl/basic
  {:extra-deps {nrepl/nrepl       {:mvn/version "1.0.0"}
                cider/cider-nrepl {:mvn/version "0.30.0"}}
   :main-opts  ["-m" "nrepl.cmdline"
                "--middleware" "[cider.nrepl/cider-middleware]"
                "--interactive"]}
Seems to work using the example on https://clojuredocs.org/clojure.pprint/pprint use the cider pprint command

that makes sense! thanks