Hi! Could someone share a good Clojurescript workflow using vim? I currently use nailgun/vimclojure, and would like to use the same setup for Clojurescript.
I tried to follow Brenton Ashworth's video (http://vimeo.com/couchmode/ user8648776/videos/sort:newest/29535884), getting as far as opening a repl in vim, through nailgun, with the correct clojurescript classpath. However, when I evaluate these lines to start a repl (do (require '[cljs.repl :as repl]) (require '[cljs.repl.browser :as browser]) (def env (browser/repl-env)) (repl/repl env)) I get the following error: E605: Exception not caught: Error executing Nail! (131)^@java.lang.OutOfMemoryError: Java heap space^@^Iat java.lang.StringCoding$String Decoder.decode(StringCoding.java:133)^@^Iat java.lang.StringCoding.decode(StringCoding.java:173)^@^Iat java.lang.String.<init>(String.ja va:443)^@^Iat java.io.ByteArrayOutputStream.toString(ByteArrayOutputStream.java: 187)^@^Iat vimclojure.nails$nail_driver.invoke(nails.clj :97)^@^Iat vimclojure.nails$Repl.invoke(nails.clj:235)^@^Iat clojure.lang.Var.invoke(Var.java:401)^@^Iat vimclojure.Nail.nailMain(Nail.j ava:61)^@^Iat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^@^Iat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod AccessorImpl.java:39)^@^Iat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25)^@^Iat java.lang.reflec t.Method.invoke(Method.java:597)^@^Iat vimclojure.nailgun.NGSession.run(NGSession.java:294)^@ Error detected while processing function 22: line 23: E171: Missing :endif I'd like to use vim, and the ability to evaluate forms from the text editor (a la vimclojure) is a way better experience than entering in forms from the command line. If anyone can help me set up the workflow, it would be hugely appreciated! Wei -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en