venantius / vim-cljfmt

A Vim plugin for cljfmt, the Clojure formatting tool.
152 stars 22 forks source link

Import failures #20

Closed venantius closed 9 years ago

venantius commented 9 years ago

There's a somewhat irritating bug wherein if an interrupt gets sent to Fireplace while it's in the midst of requiring cljfmt.core, not all of the cljfmt.core dependency namespaces are imported properly, and so you have to stop and re-start the REPL. It would be nice to figure out if there was a Clojure invocation that could be used to deal with this particular case, that vim-cljfmt could send over via Fireplace.

venantius commented 9 years ago

I should note that the particular exception that I seem to get most often is clojure.lang.Compiler$CompilerException: java.lang.Exception: namespace 'rewrite-clj.node.protocols' not found, compiling:(rewrite_clj/node/comment.clj:1:1)

venantius commented 9 years ago

I'm going to just mark this as closed since I haven't run into it in a while and the recent updates to the README should lead people in a direction that prevents this from happening anyways.