Permalink
Browse files

fixed: Clojure.vim bundle.

  • Loading branch information...
1 parent 84454b0 commit 55c0402d4d2a6be655c530b75e5d6d267870792d @gf3 committed Jan 2, 2012
Showing with 3 additions and 5,412 deletions.
  1. +2 −1 .hgrc
  2. +0 −5 .vim/bundle/clojure.vim/.hg_archival.txt
  3. +0 −7 .vim/bundle/clojure.vim/.hgignore
  4. +0 −13 .vim/bundle/clojure.vim/.hgtags
  5. +0 −20 .vim/bundle/clojure.vim/LICENSE.txt
  6. +0 −122 .vim/bundle/clojure.vim/README.markdown
  7. 0 .vim/bundle/clojure.vim/{vim → }/autoload/vimclojure.vim
  8. 0 .vim/bundle/clojure.vim/{vim → }/autoload/vimclojure/util.vim
  9. 0 .vim/bundle/clojure.vim/{vim → }/bin/clj
  10. 0 .vim/bundle/clojure.vim/{vim → }/bin/clj.bat
  11. 0 .vim/bundle/clojure.vim/{vim → }/bin/kickoff.sh
  12. 0 .vim/bundle/clojure.vim/{vim → }/bin/ng-server
  13. 0 .vim/bundle/clojure.vim/{vim → }/bin/ng-server.bat
  14. +0 −177 .vim/bundle/clojure.vim/build.gradle
  15. +0 −30 .vim/bundle/clojure.vim/client/Makefile
  16. BIN .vim/bundle/clojure.vim/client/ng.exe
  17. +0 −640 .vim/bundle/clojure.vim/client/ngclient/ng.c
  18. 0 .vim/bundle/clojure.vim/{vim → }/doc/clojure.txt
  19. 0 .vim/bundle/clojure.vim/{vim → }/ftdetect/clojure.vim
  20. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure.vim
  21. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.core.txt
  22. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.data.txt
  23. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.inspector.txt
  24. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.java.browse.txt
  25. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.java.io.txt
  26. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.java.javadoc.txt
  27. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.java.shell.txt
  28. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.main.txt
  29. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.pprint.txt
  30. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.repl.txt
  31. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.set.txt
  32. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.stacktrace.txt
  33. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.string.txt
  34. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.template.txt
  35. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.test.junit.txt
  36. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.test.tap.txt
  37. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.test.txt
  38. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.walk.txt
  39. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.xml.txt
  40. 0 .vim/bundle/clojure.vim/{vim → }/ftplugin/clojure/completions-clojure.zip.txt
  41. +0 −50 .vim/bundle/clojure.vim/gradle/src/main/groovy/vimclojure/gradle/NailgunTask.groovy
  42. +0 −41 .vim/bundle/clojure.vim/gradle/src/main/groovy/vimclojure/gradle/VimClojurePlugin.groovy
  43. +0 −1 .vim/bundle/clojure.vim/gradle/src/main/resources/META-INF/gradle-plugins/vimclojure.properties
  44. 0 .vim/bundle/clojure.vim/{vim → }/indent/clojure.vim
  45. BIN .vim/bundle/clojure.vim/lib/build/clojuresque-1.4.4.jar
  46. BIN .vim/bundle/clojure.vim/lib/build/local-dotgradle-1.0.0.jar
  47. BIN .vim/bundle/clojure.vim/lib/build/runtime-1.4.4.jar
  48. 0 .vim/bundle/clojure.vim/{vim → }/plugin/clojure.vim
  49. +0 −289 .vim/bundle/clojure.vim/server/src/main/clojure/vimclojure/backend.clj
  50. +0 −36 .vim/bundle/clojure.vim/server/src/main/clojure/vimclojure/core.clj
  51. +0 −30 .vim/bundle/clojure.vim/server/src/main/clojure/vimclojure/gencompletions.clj
  52. +0 −299 .vim/bundle/clojure.vim/server/src/main/clojure/vimclojure/nails.clj
  53. +0 −33 .vim/bundle/clojure.vim/server/src/main/clojure/vimclojure/optional/clj_stacktrace.clj
  54. +0 −175 .vim/bundle/clojure.vim/server/src/main/clojure/vimclojure/repl.clj
  55. +0 −432 .vim/bundle/clojure.vim/server/src/main/clojure/vimclojure/util.clj
  56. +0 −97 .vim/bundle/clojure.vim/server/src/main/java/org/apache/tools/ant/ExitException.java
  57. +0 −63 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/Nail.java
  58. +0 −113 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/Alias.java
  59. +0 −132 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/AliasManager.java
  60. +0 −61 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/LongUtils.java
  61. +0 −108 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGConstants.java
  62. +0 −261 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGContext.java
  63. +0 −47 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGExitException.java
  64. +0 −123 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGInputStream.java
  65. +0 −76 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGOutputStream.java
  66. +0 −74 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGSecurityManager.java
  67. +0 −538 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGServer.java
  68. +0 −337 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGSession.java
  69. +0 −122 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NGSessionPool.java
  70. +0 −130 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/NailStats.java
  71. +0 −144 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/ThreadLocalInputStream.java
  72. +0 −261 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/ThreadLocalPrintStream.java
  73. +0 −37 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/builtins/DefaultNail.java
  74. +0 −82 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/builtins/NGAlias.java
  75. +0 −77 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/builtins/NGClasspath.java
  76. +0 −54 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/builtins/NGServerStats.java
  77. +0 −36 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/builtins/NGStop.java
  78. +0 −16 .vim/bundle/clojure.vim/server/src/main/java/vimclojure/nailgun/builtins/NGVersion.java
  79. +0 −14 .vim/bundle/clojure.vim/server/src/main/resources/vimclojure/nailgun/builtins/builtins.properties
  80. +0 −3 .vim/bundle/clojure.vim/server/src/main/resources/vimclojure/nailgun/nailgun-version.properties
  81. +0 −5 .vim/bundle/clojure.vim/settings.gradle
  82. +1 −0 .vim/bundle/clojure.vim/{vim → }/syntax/clojure.vim
View
3 .hgrc
@@ -1,5 +1,5 @@
[ui]
-username = First Last <emal@address.tld>
+username = Gianni Chiappetta <gianni@runlevel6.org>
ssh = ssh -C
ignore = ~/.hgignore
editor = vim
@@ -12,6 +12,7 @@ color =
bookmarks =
hgext.extdiff =
hgshelve = ~/.hgext/hgshelve/hgshelve.py
+fetch =
prompt = ~/.hgext/hg-prompt/prompt.py
[bookmarks]
@@ -1,5 +0,0 @@
-repo: e8d8859038f059eaa428bc062ba40572baf95959
-node: 1cc797a816eaa2e3bd4189300ca751c8c74e0bf7
-branch: default
-latesttag: v2.3.0
-latesttagdistance: 15
@@ -1,7 +0,0 @@
-syntax: glob
-.DS_Store
-*-keys.txt
-build
-ng
-.gradle
-local.gradle
@@ -1,13 +0,0 @@
-e8d8859038f059eaa428bc062ba40572baf95959 v1.0.0
-2d2fd57659f1863b71a1da3867df7f4af9645b12 v1.0.2
-44f0257f69bfb51cd400e7e1fceb64daecf61eaa v1.1.0
-192e23be12b48b0d3b07b5167f767ec959ee780f v1.1.1
-d1bf8ed221afbf976617909a0ad31495f7146d36 v1.2.0
-71e475ca98d45ae5e29fae03961e5236c626aeab v1.2.1
-e0f82e2807b10dd718a6e20726154d16312fb64b v1.3.0
-bab4b136685bd12809ec7d755b3bf080cf24cd26 v2.0.0
-1a8128b68aab1d6e4c6b960b61b6684ac7e63b06 v2.1.0
-ebc7d51caa8f7aafdc916c4f681112f9be24444b v2.1.1
-3c4c4bc70e35280175aa9b60a2b438572619a692 v2.1.2
-d86f147b463088792300dc25a812a4ff43e604d6 v2.2.0
-b4e17e56720c6dd6ca8387dee533ad1fc05013d0 v2.3.0
@@ -1,20 +0,0 @@
-Copyright 2008-2011 (c) Meikel Brandmeyer.
-All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
@@ -1,122 +0,0 @@
-# VimClojure – a Clojure environment for Vim
-
-VimClojure is one of the most sophisticated editing environments for Clojure.
-It provides syntax highlighting, indenting and command completion.
-
-VimClojure is not intended to be an easy to use Clojure IDE, but a plugin
-to make life easier for people already familiar with Vim. So you should
-be familiar with Vim and/or Java. Eg. VimClojure won't help you in any way
-to set up a correct classpath! This is the responsibility of the build
-system of the given project. So before using the dynamic server make
-yourself comfortable with Clojure, the JVM and Vim.
-
-# Requirements
-
-Please make sure that the following options are set in your .vimrc:
-
- syntax on
- filetype plugin indent on
-
-Otherwise the filetype is not activated, and hence VimClojure doesn't work.
-
-The following assumes a standard installation. If you have installed Vim (or
-are installing VimClojure) in a non-standard way, I trust that you know what
-you are doing.
-
-# Online Documentation
-
-Please refer to the online documentation in the doc folder for further
-information on how to use VimClojure, its features and its caveats. To
-rebuild the help tags for the online documentation issue the following
-command in Vim instance.
-
- " On Unix:
- :helptags ~/.vim/doc
- " On Windows:
- :helptags ~/vimfiles/doc
-
-# Here be Dragons
-
-If requested VimClojure also provides a SLIME like interface to dynamically
-work with Clojure code. For this to work the included Nailgun server must be
-running. Remote may be forwarded via ssh.
-
-Features of the interactive interface are:
-
-- dynamic documentation lookup
-- dynamic javadoc lookup (in an external browser)
-- Repl running in a Vim buffer
-- smart omni completion
-- easy evaluation of code in a buffer
-
-However: **This is not a requirement!** VimClojure works perfectly in
-_offline_ mode. That is: just unpack the distribution zip in your .vim
-directory and you are good to go! In fact I discourage newbies to use the
-server until being more comfortable with Clojure and/or the JVM.
-
-## Configuration
-
-To activate the interactive interface define the vimclojure#WantNailgun variable
-in your .vimrc: `let vimclojure#WantNailgun = 1`
-
-## Building the Nailgun interface
-
-You have to download and install the client program once. Unless there is
-a note in the release notes it will be compatible with future releases. The
-client can be downloaded from:
-http://kotka.de/projects/vimclojure/vimclojure-nailgun-client-<version>.zip.
-
-After unzipping the archive, simply type `make` in the subdirectory from the
-zip archive. This will compile the nailgun client. For Windows the client is
-already pre-compiled as `ng.exe`.
-
-Configure the location of the nailgun client in your `.vimrc`:
-
- let vimclojure#NailgunClient = "/path/to/your/ng"
-
-It will default to just `ng` which should work if the client is on your PATH.
-
-Note: You might need to check the Makefile for special lib requirements
-to compile the nailgun client, eg. on OpenSolaris.
-
-It is **not** required to build the **server side** of the Nailgun interface
-and I strongly discourage to do so. The server is provided as jar file
-from [Clojars](http://clojars.org). Just add the artifact to your development
-dependencies.
-
-* For Gradle (with Clojuresque):
-
- dependencies {
- development 'vimclojure:server:<version>'
- }
-
-* For Leiningen:
-
- (defproject …
- :dev-dependencies […
- [vimclojure/server "<version>"]
- …])
-
-* For Ivy:
-
- <dependency org="vimclojure" name="server" rev="<version>"/>
-
-* For Maven:
-
- <dependency>
- <groupId>vimclojure</groupId>
- <artifactId>server</artifactId>
- <version><version></version>
- </dependency>
-
-
-For manual download:
-http://clojars.org/repo/vimclojure/server/<version>/server-<version>.jar
-
-There are also launcher scripts included in the vimclojure/bin subdirectory
-based on Stephen C. Gilardi's clj-env-dir launcher. See information on how
-to use them in the corresponding files.
-
---
-Meikel Branmdeyer <mb@kotka.de>
-Erlensee, 2010
@@ -1,177 +0,0 @@
-buildscript {
- repositories {
- flatDir { dirs project(':').file('lib/build') }
- }
- dependencies {
- classpath "clojuresque:clojuresque:1.4.4"
- classpath "local-dotgradle:local-dotgradle:1.0.0"
- }
-}
-
-allprojects {
- localDotGradle = project(':').file("local.gradle").absoluteFile
- apply plugin: 'local-dotgradle'
-
- repositories {
- flatDir { dirs project(':').file('lib/build') }
- }
-}
-
-subprojects {
- apply plugin: 'java-base'
-
- group = 'vimclojure'
- version = '2.3.1-SNAPSHOT'
-
- defaultTasks 'build'
-}
-
-apply plugin: 'clojure'
-
-defaultRepositories {
- clojarsRepo()
-}
-
-project(':server') {
- apply plugin: 'clojure'
-
- defaultRepositories {
- mavenCentral()
- }
-
- dependencies {
- compile 'org.clojure:clojure:[1.2,1.5)'
- }
-
- uploadArchives {
- clojarsDeploy()
- }
-
- compileClojure.dependsOn compileJava
-}
-
-project(':gradle') {
- apply plugin: 'groovy'
- apply plugin: 'clojure'
-
- dependencies {
- compile gradleApi()
- groovy localGroovy()
- }
-
- uploadArchives {
- clojarsDeploy()
- }
-}
-
-
-project(':client') {
- task nailgunClientZip(type: Zip) {
- archiveName = "vimclojure-nailgun-client-" + project.version + ".zip"
- into("vimclojure-nailgun-client") {
- from('.') {
- include "ngclient/**/*"
- include "Makefile"
- include "ng.exe"
- }
- }
- }
-}
-
-project(':vim') {
- task vimZip(type: Zip) {
- archiveName = "vimclojure-" + project.version + ".zip"
- from('.') {
- include 'autoload/**/*'
- include 'bin/**/*'
- exclude 'bin/kickoff.sh'
- include 'doc/**/*'
- include 'ftdetect/**/*'
- include 'ftplugin/**/*'
- include 'indent/**/*'
- include 'plugin/**/*'
- include 'syntax/**/*'
- }
- from('..') {
- include 'LICENSE.txt'
- include 'README.markdown'
- }
- }
-
- // Install the Vim part of the plugin
- def installFiles = { File directory, String pattern, File destination ->
- destination.mkdirs()
- ant.copy(todir: destination) {
- fileset dir: directory, includes: pattern
- }
- }
-
- task installVim << {
- File installDir
-
- if (project.hasProperty('vimdir')) {
- installDir = new File(project.vimdir)
- } else if (System.getProperty('os.name').toLowerCase().startsWith("win")) {
- installDir = new File(System.getProperty('user.home') + "/vimfiles")
- } else {
- installDir = new File(System.getProperty('user.home') + "/.vim")
- }
-
- // The Vim files:
- [ 'autoload', 'indent', 'syntax', 'ftdetect', 'ftplugin', 'plugin' ].each {
- File subDir = new File(installDir, it)
- installFiles project.file(it), '**/*.vim', subDir
- }
-
- // The Docs and other text files:
- [ 'doc', 'ftplugin/clojure' ].each {
- File subDir = new File(installDir, it)
- installFiles project.file(it), '**/*.txt', subDir
- }
- }
-}
-
-task genCompletions(type: clojuresque.ClojureExec) {
- classpath = project.files(
- project(':server').sourceSets.main.clojure.srcDirs,
- project(':server').sourceSets.main.output.classesDir,
- project(':server').sourceSets.main.compileClasspath
- )
- main = "vimclojure.gencompletions/main"
- args = [
- "clojure.core",
- "clojure.data",
- "clojure.inspector",
- "clojure.java.browse",
- "clojure.java.browse-ui",
- "clojure.java.io",
- "clojure.java.javadoc",
- "clojure.java.shell",
- "clojure.main",
- "clojure.pprint",
- "clojure.repl",
- "clojure.set",
- "clojure.stacktrace",
- "clojure.string",
- "clojure.template",
- "clojure.test",
- "clojure.test.tap",
- "clojure.test.junit",
- "clojure.walk",
- "clojure.xml",
- "clojure.zip"
- ]
-}
-
-task runNailgun(type: JavaExec) {
- dependsOn project(':server').classes
- dependsOn project(':server').processResources
- classpath = project.files(
- project(':server').sourceSets.main.clojure.srcDirs,
- project(':server').sourceSets.main.output.classesDir,
- project(':server').sourceSets.main.output.resourcesDir,
- project(':server').sourceSets.main.compileClasspath
- )
- main = 'vimclojure.nailgun.NGServer'
- args = [ '127.0.0.1' ]
-}
@@ -1,30 +0,0 @@
-# This Makefile has only been tested on linux. It uses
-# MinGW32 to cross-compile for windows. To install and
-# configure MinGW32 on linux, see
-# http://www.mingw.org/MinGWiki/index.php/BuildMingwCross
-#
-# Marty Lamb
-
-CC=gcc
-CFLAGS=-Wall -pedantic -s -O3
-
-# Special library requirements
-# Default:
-LIBS=
-
-# OpenSolaris 2009.06
-#LIBS=-lsocket -lnsl
-
-# Windows
-#LIBS=-lwsock32
-
-ng: ngclient/ng.c
- @echo "Building ng client. To build a Windows binary, type 'make ng.exe'"
- ${CC} ${CFLAGS} ${LIBS} -o ng ngclient/ng.c
-
-clean:
- @echo "If you have a Windows binary, 'make clean' won't delete it."
- @echo "You must remove this manually. Most users won't have MinGW"
- @echo "installed - so I'd rather not delete something they can't rebuild."
- rm ng
-# rm ng.exe
Binary file not shown.
Oops, something went wrong.

0 comments on commit 55c0402

Please sign in to comment.