robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:408281e16a362b9d8dc87e

master
671 B25 linesraw
1" Vim compiler file
2" Compiler:	Checkstyle
3" Maintainer:	Doug Kearns <dougkearns@gmail.com>
4" Last Change:	2024 Apr 03
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "checkstyle"
10
11let s:cpo_save = &cpo
12set cpo&vim
13
14" CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain\ -c\ /sun_checks.xml
15" CompilerSet makeprg=java\ -jar\ checkstyle-X.XX-all.jar\ -f\ plain\ -c\ /sun_checks.xml
16
17CompilerSet makeprg=checkstyle\ -f\ plain
18CompilerSet errorformat=[%tRROR]\ %f:%l:%v:\ %m,
19		       \[%tARN]\ %f:%l:%v:\ %m,
20		       \[%tRROR]\ %f:%l:\ %m,
21		       \[%tARN]\ %f:%l:\ %m,
22		       \%-G%.%#
23
24let &cpo = s:cpo_save
25unlet s:cpo_save