view runtime/compiler/checkstyle.vim @ 13346:4dbf2a6972e6 v8.0.1547

patch 8.0.1547: undo in the options window makes it empty commit https://github.com/vim/vim/commit/9c474b277336235012f0c058bbaef2961d1ec83e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 27 17:04:25 2018 +0100 patch 8.0.1547: undo in the options window makes it empty Problem: Undo in the options window makes it empty. Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matthew, closes #2645)
author Christian Brabandt <cb@256bit.org>
date Tue, 27 Feb 2018 17:15:06 +0100
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%.%#