If we want to do editor integration with figwheel and vim-fireplace, we need to use piggieback. The document in piggieback is enough to setup it. However, it seems quite difficult to setup shadow-cljs and vim-fireplace because there is no document about this and there is no example.
1 Answers
2
votes
Take a look at reference at here and source code of shadow-cljs.
To make vim-fireplace invoke ClojureScript session through nrepl at the shadow-cljs case:
We do not need to setup nrepl middleware like
:nrepl-middleware [cider.piggieback/wrap-cljs-repl]
At vim, give the command
:Piggieback :client-app
Note that: :client-app
is the build-id of your shadow-cljs application