view runtime/compiler/javac.vim @ 30753:b6b326671396 v9.0.0711

patch 9.0.0711: SubStation Alpha files are not recognized Commit: https://github.com/vim/vim/commit/084f2620ec7d08d6043de30436197c002fffe3ec Author: ObserverOfTime <chronobserver@disroot.org> Date: Mon Oct 10 12:08:59 2022 +0100 patch 9.0.0711: SubStation Alpha files are not recognized Problem: SubStation Alpha files are not recognized. Solution: Add patterns for SubStation Alpha files. (closes https://github.com/vim/vim/issues/11332)
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Oct 2022 13:15:03 +0200
parents d4c7b3e9cd17
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Java Development Kit Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2019 Oct 21

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

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=javac
CompilerSet errorformat=%E%f:%l:\ error:\ %m,
		       \%W%f:%l:\ warning:\ %m,
		       \%-Z%p^,
		       \%-C%.%#,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save