1" Vim compiler file
2" Compiler:	Checkstyle
3" Maintainer:	Doug Kearns <[email protected]>
4" Last Change:	2013 Jun 26
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "checkstyle"
10
11if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12  command -nargs=* CompilerSet setlocal <args>
13endif
14
15CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain
16
17" sample error: WebTable.java:282: '+=' is not preceeded with whitespace.
18"		WebTable.java:201:1: '{' should be on the previous line.
19CompilerSet errorformat=%f:%l:%v:\ %m,%f:%l:\ %m,%-G%.%#
20