robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:408281e16a362b9d8dc87e

master
675 B26 linesraw
1" Vim compiler file
2" Compiler:	Rhino Shell (JavaScript in Java)
3" Maintainer:	Doug Kearns <dougkearns@gmail.com>
4" Last Change:	2024 Apr 03
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "rhino"
10
11let s:cpo_save = &cpo
12set cpo&vim
13
14" CompilerSet makeprg=java\ -jar\ lib/rhino-X.X.XX.jar\ -w\ -strict
15
16CompilerSet makeprg=rhino
17CompilerSet errorformat=%-Gjs:\ %.%#Compilation\ produced%.%#,
18		       \%Ejs:\ \"%f\"\\,\ line\ %l:\ %m,
19		       \%Ejs:\ uncaught\ JavaScript\ runtime\ exception:\ %m,
20		       \%Wjs:\ warning:\ \"%f\"\\,\ line\ %l:\ %m,
21		       \%Zjs:\ %p^,
22		       \%Cjs:\ %.%#,
23		       \%-G%.%#
24
25let &cpo = s:cpo_save
26unlet s:cpo_save