view runtime/compiler/rhino.vim @ 30415:56e38195570b v9.0.0543

patch 9.0.0543: insufficient testing for assert and test functions Commit: https://github.com/vim/vim/commit/e24b5e0b0f5ab015215ef2761baa98ccb1ba8606 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Sep 22 13:44:00 2022 +0100 patch 9.0.0543: insufficient testing for assert and test functions Problem: Insufficient testing for assert and test functions. Solution: Add a few more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/11190)
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Sep 2022 14:45:02 +0200
parents d4c7b3e9cd17
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Rhino Shell (JavaScript in Java)
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2019 Jul 10

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

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=java\ -jar\ lib/rhino-X.X.XX.jar\ -w\ -strict

CompilerSet makeprg=rhino
CompilerSet errorformat=%-Gjs:\ %.%#Compilation\ produced%.%#,
		       \%Ejs:\ \"%f\"\\,\ line\ %l:\ %m,
		       \%Ejs:\ uncaught\ JavaScript\ runtime\ exception:\ %m,
		       \%Wjs:\ warning:\ \"%f\"\\,\ line\ %l:\ %m,
		       \%Zjs:\ %p^,
		       \%Cjs:\ %.%#,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save