Fork me on GitHub
Drew Verlee17:02:47

quick note here i can elobrate if needed, i think its cider-print-fn not cider-pprint-fn as i saw in the practicalli init file that i clone. That being said, i see no diff and i even changed it to use puget from filpp.


Seems version 21 of CIDER has marked the pprint name obsolete


(make-obsolete-variable 'cider-pprint-fn 'cider-print-fn "0.21")
(make-obsolete-variable 'cider-pprint-options 'cider-print-options "0.21")

👀 1

I've changed my .spacemacs config to use puget as well, as it sorts the keys in order to give consistent results for large data structures

(clojure :variables
              ;; clojure-backend 'cider               ;; use cider and disable lsp
              ;; clojure-enable-linters 'clj-kondo    ;; clj-kondo included in lsp
              clojure-enable-kaocha-runner t          ;; enable Kaocha test runner
              cider-repl-display-help-banner nil      ;; disable help banner
              cider-print-fn 'puget                   ;; pretty printing with sorted keys / set values
              clojure-indent-style 'align-arguments
              clojure-align-forms-automatically t
              clojure-toplevel-inside-comment-form t  ;; evaluate expressions in comment as top level
              cider-result-overlay-position 'at-point ;; results shown right after expression
              cider-overlays-use-font-lock t
              cider-repl-buffer-size-limit 100        ;; limit lines shown in REPL buffer

👍 1