Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output of println is not displayed #405

Open
lel4866 opened this issue Sep 28, 2022 · 1 comment
Open

output of println is not displayed #405

lel4866 opened this issue Sep 28, 2022 · 1 comment

Comments

@lel4866
Copy link

lel4866 commented Sep 28, 2022

Using either the latest nvim, nvim-qt or vim 9 on Windows 11, If I run (println "Hello") by typing cpp in the form, fireplace displays nil, but not "Hello". The lein repl does not show anything.
(+ 3 4) displays 7.

(println "Hello") in the repl displays Hello.

But, if I do (print "Hello\n"), Hello is displayed.

And...if I do: (println (str "Hello" "\n")), Hello is displayed.

If I run Emacs 28.2 with Cider on Windows 11, (println "Hello") displays Hello

No issues if I run vim from wsl

This is the same issue as reported 9 months ago in the clojure reddit:
https://www.reddit.com/r/Clojure/comments/rvrxar/neovim_fireplace_println_not_showing_output/

@tpope
Copy link
Owner

tpope commented Oct 4, 2022

It works as expected for me with cider-nrepl 0.26.0. When I try to upgrade I get Unable to resolve var: cider.nrepl/wrap-apropos in this context. Don't have time to dig in on what's going on there. But if you can check if it works with that cider-nrepl version, that might narrow it down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants