3 " Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
4 " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/checkstyle.vim
5 " Last Change: 2004 Nov 27
7 if exists("current_compiler")
10 let current_compiler = "checkstyle"
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
13 command -nargs=* CompilerSet setlocal <args>
16 CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain
18 " sample error: WebTable.java:282: '+=' is not preceeded with whitespace.
19 " WebTable.java:201:1: '{' should be on the previous line.
20 CompilerSet errorformat=%f:%l:\ %m,%f:%l:%v:\ %m,%-G%.%#