tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Fireplace: no default ClojureScript REPL #372

Closed epszaw closed 5 years ago

epszaw commented 5 years ago

Hello! I'm trying to connect to any repl with :FireplaceConnect and then trying to format cljs code with :Cljfmt and see this error Fireplace: no default ClojureScript REPL. Whats wrong? How I can solve this error and format cljs code? Also, I have not any problems with clj code.

tpope commented 5 years ago

This is addressed in the docs. Sometimes it's easier than said than done but I don't have the bandwidth to provide tech support for it.

marvinthepa commented 3 years ago

This is the documentation that helped me when searching for this error message: https://figwheel.org/docs/vim.html (I do not mean to imply that the fireplace docs are insufficient. Tim, you rock! 🚀 )

robbieh commented 2 years ago

For all the other poor souls who Google sends here: https://gist.github.com/finalfantasia/292b8432dc0072b2397ea4d694aab930

The trick is to do this after you connect:

:CljEval (shadow/repl :your_build_id_here)