view runtime/compiler/checkstyle.vim @ 13825:eb7707562201 v8.0.1784

patch 8.0.1784: gvim test gets stuck in dialog commit https://github.com/vim/vim/commit/bc7845da935c0707e119812077cecd6cfb5a65e2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 1 16:26:48 2018 +0200 patch 8.0.1784: gvim test gets stuck in dialog Problem: Gvim test gets stuck in dialog. Solution: Rename the file used.
author Christian Brabandt <cb@256bit.org>
date Tue, 01 May 2018 16:30:07 +0200
parents f7add3891e95
children 0db0640e16e0
line wrap: on
line source

" Vim compiler file
" Compiler:	Checkstyle
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2013 Jun 26

if exists("current_compiler")
  finish
endif
let current_compiler = "checkstyle"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain

" sample error: WebTable.java:282: '+=' is not preceeded with whitespace.
"		WebTable.java:201:1: '{' should be on the previous line.
CompilerSet errorformat=%f:%l:%v:\ %m,%f:%l:\ %m,%-G%.%#