summaryrefslogtreecommitdiffstats
path: root/compiler/jikes.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/jikes.vim')
-rw-r--r--compiler/jikes.vim22
1 files changed, 22 insertions, 0 deletions
diff --git a/compiler/jikes.vim b/compiler/jikes.vim
new file mode 100644
index 00000000..1288442f
--- /dev/null
+++ b/compiler/jikes.vim
@@ -0,0 +1,22 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
+
+" Vim Compiler File
+" Compiler: Jikes
+" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
+" Last Change: 20 Jan 2009
+" URL: http://dwsharp.users.sourceforge.net/vim/compiler
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "jikes"
+
+if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+" Jikes defaults to printing output on stderr
+CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%\"
+CompilerSet errorformat=%f:%l:%v:%*\\d:%*\\d:%*\\s%m
+
+endif