Any ideas how or why pretty print is putting the first line of output on the same line as the last line of the expression rather then below it (the desired behavior). Getting:
(for [x (range 10)]
[x x x ]);; => ([0 0 0]
;; [1 1 1]
;; ....
want
(for [x (range 10)]
[x x x ])
;; => ([0 0 0]
;; [1 1 1]
;; ....
@drewverlee I get what you want when using cider-pprint-eval-defun-at-point
I get the comment starting on the same line as the code when using cider-pprint-eval-last-sexp-to-comment
which is not what you were looking for..
So in Spacemacs, use the , e p ;
rather than the , e p :
key binding
I'll give that a try thanks.
yea that works well enough for now. thanks.
I assume they are different as the last-sexp would be used with expressions inside other expressions