2014-07-10 21:05:51 -07:00
|
|
|
" Vim compiler file
|
2021-04-29 18:57:46 -07:00
|
|
|
" Compiler: Java Development Kit Compiler
|
2014-07-10 21:05:51 -07:00
|
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
2024-04-04 14:49:21 -07:00
|
|
|
" Last Change: 2024 Apr 03
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "javac"
|
|
|
|
|
2021-04-29 18:57:46 -07:00
|
|
|
let s:cpo_save = &cpo
|
|
|
|
set cpo&vim
|
|
|
|
|
2014-07-10 21:05:51 -07:00
|
|
|
CompilerSet makeprg=javac
|
2021-04-29 18:57:46 -07:00
|
|
|
CompilerSet errorformat=%E%f:%l:\ error:\ %m,
|
|
|
|
\%W%f:%l:\ warning:\ %m,
|
|
|
|
\%-Z%p^,
|
|
|
|
\%-C%.%#,
|
|
|
|
\%-G%.%#
|
2014-07-10 21:05:51 -07:00
|
|
|
|
2021-04-29 18:57:46 -07:00
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|