You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case a maven repository is down it is impossible to open buffer without killing. It could be helpful to provide an option to user to set offline mode and use lein -o classpath in the plugin, which is significantly faster in general too.
As of the most recent commit, classpath.vim now remembers if it fails to retrieve the path and doesn't try again till project.clj changes. The way I see it, combining that with -o is basically a non-starter, because the first attempt is very likely to fail if you're not diligent about running a lein command immediately after editing project.clj.
I'd accept a patch that passes -o to lein and maven if g:classpath_offline is set. I'd be more enthusiastic about a solution that defaults to -o but copes with the above problem more gracefully, such as by retrying without -o if the problem is indeed offline related.
Activity
kul commentedon Mar 10, 2014
Imho the default should be
lein -oas i see more value of the plugin when a repl is already running then one time evaluation.2 cents.
tpope commentedon Mar 10, 2014
As of the most recent commit, classpath.vim now remembers if it fails to retrieve the path and doesn't try again till
project.cljchanges. The way I see it, combining that with-ois basically a non-starter, because the first attempt is very likely to fail if you're not diligent about running a lein command immediately after editingproject.clj.tpope commentedon Mar 10, 2014
I'd accept a patch that passes
-oto lein and maven ifg:classpath_offlineis set. I'd be more enthusiastic about a solution that defaults to-obut copes with the above problem more gracefully, such as by retrying without-oif the problem is indeed offline related.