Skip to main content

Use Vim-Fireplace with Figwheel greater 0.4

I have put together an example repo, how to use vim-fireplace with figwheel after the 0.4 release. This release removed cider and piggieback, so we have to add them back.

Add this to the according sections of your project.clj:

;; add nrepl middleware for fireplace
:figwheel {:nrepl-middleware ["cider.nrepl/cider-middleware"
;; add piggieback for fireplace
:profiles {:dev {:dependencies  [[com.cemerick/piggieback "0.2.1"]]
                 :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}}