Fork me on GitHub
#emacs
<
2022-11-29
>
teodorlu12:11:47

TIL Does anybody know how to increase the output width of cider-pprint-eval-last-sexp? Yes! duckie There's an Emacs lisp var for that. The following allowed my maps to be shown on a single line:

(setq cider-print-options '(("length" 70) ("right-margin" 120)))
More info in https://docs.cider.mx/cider/usage/pretty_printing.html.

🎉 1
👀 1
teodorlu12:11:01

At first, I tried changing clojure.pprint's config:

(set! clojure.pprint/*print-miser-width* 60)
That didn't do anything for CIDER's output. Reading the correct docs helped! 😄

otfrom13:11:36

TIL. Thx!

🙌 1