Fork me on GitHub
#vim
<
2017-09-19
>
rgm18:09:28

I'm trying to use Chestnut and connect in Vim with Piggieback...

rgm18:09:08

If I use Chestnut's take on starting up Figwheel (using danielsz/system and (user/go) then it seems like Vim can't see that Figwheel is started.

rgm18:09:20

trying to connect with :Piggieback (figwheel-sidecar.repl-api/repl-env) in Vim

rgm18:09:53

result:

Figwheel System not initialized.
Please start it with figwheel-sidecar.repl-api/start-figwheel!
java.lang.NullPointerException:

rgm18:09:21

I think this is effectively the connection command that Figgieback uses too.

rgm18:09:47

does anyone know how to make (go) work here? I just work around it for now with the usual (start-figwheel!) in the REPL and this seems to work OK at the cost of not being able to really use the whole (reset) thing for the CLJ side of life

dominicm19:09:09

@rgm chestnut is set up in a weird way

dominicm19:09:23

Let me scroll up and find what you need, I've solved it before

dominicm19:09:53

@rgm try Piggieback (figwheel-sidecar.system/repl-env (:figwheel-system reloaded.repl/system) nil)

dominicm19:09:14

@rgm you will need to run (go) first

rgm20:09:20

@dominicm oh cool, thanks very much. I'll give that a go.

dominicm20:09:54

Chestnut mounts a "custom" Figwheel, so needs a little coercion to expose the repl env