Fork me on GitHub
#vim
<
2019-09-27
>
Stefan11:09:27

Hi all! I’m experimenting with different editors for Clojure, and currently investing into vim / fireplace. I am quite happy with my setup at the moment, but one thing is not working and I have no idea why: doc lookup. When I press SHIFT-K on a symbol, I get the error:

Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:436).
clojure.repl
Any ideas where this comes from? I’m using tools.deps and am running a REPL using this alias:
:repl {:extra-paths ["test"]
         :extra-deps {nrepl {:mvn/version "RELEASE"}
                      cljfmt {:mvn/version "RELEASE"}}
         :main-opts ["-m" "nrepl.cmdline"]}
The REPL is connected in vim. This is Clojure-only (so no CLJS).

dominicm12:09:09

I imagine a refactor dropped a necessary require

dominicm12:09:31

Alternatively you could add cider to your middleware (you'll generally have a good time if you do that)

dpsutton12:09:35

My coworkers are having issues with fireplace when cider-nrepl middleware is present. Has anyone else seen this by any chance?

dominicm12:09:05

Nope. What issue?

dominicm12:09:24

I've only ever used it with cider, I think that's the best supported path.

dpsutton12:09:04

I forget the error message. I’ll get them to repro today

dominicm12:09:15

For me, it generally just works. I have some investigation to do into some aspects of piggieback.