1. Meikel Brandmeyer
  2. clojuresque

Commits

Meikel Brandmeyer  committed d78c29e

Add VimClojure example

  • Participants
  • Parent commits 8ec2607
  • Branches default

Comments (0)

Files changed (1)

File Getting_Started.wiki

View file
  • Ignore whitespace
 
 Please refer also to the extensive [[http://www.gradle.org/documentation.html|gradle documentation]] for general information on how to use //gradle// to its full power. Questions can be asked on the [[https://groups.google.com/forum/#!forum/clojuresque|clojuresque google group]]. Non-clojuresque specific questions might be better directed to [[http://www.gradle.org/lists.html|gralde user]] mailing list. Chances are that there is faster response there for pure gradle questions.
 
+== Adding VimClojure Support ==
+
+* Add the following to your dependencies section:
+{{{
+        development "vimclojure:server:2.2.0"
+}}}
+* Then add the following task to start the VimClojure backend:
+{{{
+        task runNailgun(type: JavaExec) {
+                classpath = project.files(
+                        project.sourceSets.main.clojure.srcDirs,
+                        project.sourceSets.main.classesDir,
+                        project.sourceSets.test.clojure.srcDirs,
+                        project.configurations.testRuntime,
+                        project.configurations.development
+                )
+                main = "vimclojure.nailgun.NGServer"
+                args = [ "127.0.0.1" ]
+        }
+}}}
+
 == Adding Swank Support ==
 
 * Add the following to your dependencies section:
 {{{
-development "swank-clojure:swank-clojure:1.3.1"
+        development "swank-clojure:swank-clojure:1.3.1"
 }}}
 * Then add the following task to start swank:
 {{{
-task runSwank(type: clojuresque.ClojureExec) {
-    classpath = project.files(
-        project.sourceSets.main.clojure.srcDirs,
-        project.sourceSets.main.classesDir,
-        project.sourceSets.test.clojure.srcDirs,
-        project.configurations.testRuntime,
-        project.configurations.development
-    )
-    main = "swank.swank/start-repl"
-    args = []
-}
+        task runSwank(type: clojuresque.ClojureExec) {
+                classpath = project.files(
+                        project.sourceSets.main.clojure.srcDirs,
+                        project.sourceSets.main.classesDir,
+                        project.sourceSets.test.clojure.srcDirs,
+                        project.configurations.testRuntime,
+                        project.configurations.development
+                )
+                main = "swank.swank/start-repl"
+                args = []
+        }
 }}}
 * Finally connect from emacs using M-x slime-connect