view runtime/compiler/checkstyle.vim @ 35626:35f452cbbe0c

runtime(htmlangular): correct comment Commit: https://github.com/vim/vim/commit/a3a14d5469681676310d39c19e110a57cd8ac7c6 Author: Christian Brabandt <cb@256bit.org> Date: Wed Jul 10 19:33:33 2024 +0200 runtime(htmlangular): correct comment related: https://github.com/vim/vim/issues/15190 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 10 Jul 2024 19:45:08 +0200
parents e1df51f68736
children
line wrap: on
line source

" Vim compiler file
" Compiler:	Checkstyle
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2024 Apr 03

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

let s:cpo_save = &cpo
set cpo&vim

" CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain\ -c\ /sun_checks.xml
" CompilerSet makeprg=java\ -jar\ checkstyle-X.XX-all.jar\ -f\ plain\ -c\ /sun_checks.xml

CompilerSet makeprg=checkstyle\ -f\ plain
CompilerSet errorformat=[%tRROR]\ %f:%l:%v:\ %m,
		       \[%tARN]\ %f:%l:%v:\ %m,
		       \[%tRROR]\ %f:%l:\ %m,
		       \[%tARN]\ %f:%l:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save