view runtime/compiler/javac.vim @ 18118:9b7c7754ba9d v8.1.2054

patch 8.1.2054: compiler test for Perl may fail Commit: https://github.com/vim/vim/commit/cebfcffa40c058119bc2f92f0db02dffd3f6affe Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 18 21:42:38 2019 +0200 patch 8.1.2054: compiler test for Perl may fail Problem: Compiler test for Perl may fail. Solution: Accept any error line number. (James McCoy, closes https://github.com/vim/vim/issues/4944)
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 Sep 2019 21:45:03 +0200
parents f7add3891e95
children d4c7b3e9cd17
line wrap: on
line source

" Vim compiler file
" Compiler:	javac
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2004 Nov 27

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

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

CompilerSet makeprg=javac

CompilerSet errorformat=%E%f:%l:\ %m,%-Z%p^,%-C%.%#,%-G%.%#