dgrnbrg / vim-redl

A better Vim integration story for Clojure
106 stars 8 forks source link

clojure.core not referred #10

Closed Raynes closed 11 years ago

Raynes commented 11 years ago

When I do :ReplHere, I get a repl where I'm in the correct namespace, but I can't actually call anything. For example trying to evaluate (+ 3 3) results in an exception because + is not defined. I can refer to it manually with clojure.core/+, and since I have fireplace I can do cpr to load the file manually and then it works fine. Am I doing something wrong?

dgrnbrg commented 11 years ago

That is what I do. I should probably (require the-current-ns) whenever you do a :ReplHere to avoid that annoyance--otherwise, you can end up in an ns that doesn't exist yet.

dgrnbrg commented 11 years ago

This should work now.