Fork me on GitHub
#cider
<
2021-03-31
>
drewverlee20:03:26

when i pretty print the first part of the output now comes to the right of the expression. This is great for single line output. e.g (inc 1) ;;=> 2, but not great for multiline output e.g

(foo) ;;=> 1
;; => 2
etc...
how do i adjust this to its always just underneath?

jumar05:04:38

By having an empty line at the end of the file?

blak3mill3r06:04:33

I don't experience this. What are you running exactly, cider-pprint-eval-defun-to-comment ?

blak3mill3r06:04:54

This could be an unintended interaction with another emacs package perhaps. There are cider settings as well, did you adjust any of those?

drewverlee20:04:55

correct cider-pprint-eval-defun-to-comment could be some interaction, i just installed the clojure lsp server, though why that would cause an issue idk.

drewverlee20:04:16

or well last-sexp

drewverlee20:04:55

it's a minor thing.

blak3mill3r00:04:30

I am guessing it's an interaction with another emacs package (unless you customized cider somehow)

blak3mill3r00:04:35

which is annoying...

blak3mill3r00:04:15

I usually solve these things by selectively eliminating packages, or starting from just cider basics and then adding my emacs packages back, until I binary-search in on the cause