planck

Planck ClojureScript REPL
pyrmont 2019-02-19T19:40:36.053Z

I successfully have a basic Vimscript plugin sending code from a buffer to Planck that's evaluated with the output or error being sent back for display in Vim :)

pyrmont 2019-02-19T19:44:16.058600Z

I have discovered a bug in planck.core/load-string, though. It's not honouring the namespace of code passed to it. If you type (clojure.core/load-string "(ns eg.core) (def x 1)") into Clojure's REPL, it will define x in eg.core. However, if you do the same thing in Planck, x will be defined in cljs.user.

pyrmont 2019-02-19T19:45:11.059600Z

load-string is really just a wrapper for load-file so the bug may be there instead.

mfikes 2019-02-19T19:45:16.059800Z

@mike858 Probably worth filing a ticket

pyrmont 2019-02-19T19:45:20.060Z

Yeah.

pyrmont 2019-02-19T19:45:30.060400Z

Will do.