spacemacs

Drew Verlee 2022-02-20T17:48:47.108949Z

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.

practicalli-johnny 2022-02-20T19:00:55.798029Z

Seems version 21 of CIDER has marked the pprint name obsolete

practicalli-johnny 2022-02-20T19:01:04.945029Z

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

👀 1
practicalli-johnny 2022-02-20T19:44:02.326289Z

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