tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Doc with invalid namespace #314

Closed Herz3h closed 5 years ago

Herz3h commented 6 years ago

Hello,

I'm currently editing a file thats on a remote server, this clojure file requires a namespace which I don't have access to locally. So whenever I try to use Doc on a keyword it fails because it couldn't load the namespace.

Not sure if this is a normal behavior (not that familiar with repl/clojure), but should Fireplace require the namespace for Doc to work (in case of seeking doc for the language keywords) ?

tpope commented 5 years ago

Does "editing a file on a remote server" mean something like a ssh:// URL or something else?

tpope commented 5 years ago

So Fireplace does issue a (require 'namespace) when calling :Doc from a file with a (ns 'namespace) declaration. I can offer further advice debugging but I think this is an environment issue not a Fireplace bug.