Fork me on GitHub
#planck
<
2019-02-19
>
pyrmont19:02:36

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 :)

pyrmont19:02:16

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.

pyrmont19:02:11

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

mfikes19:02:16

@mike858 Probably worth filing a ticket