Mercurial > vim
annotate runtime/compiler/rhino.vim @ 35348:1f56105832f2 default tip
runtime(man): disable the q mapping
Commit: https://github.com/vim/vim/commit/6dcd7f1a4d6d216798963edce9de69d03092433f
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Jun 6 19:06:38 2024 +0200
runtime(man): disable the q mapping
fixes: https://github.com/vim/vim/issues/8210
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 06 Jun 2024 19:30:03 +0200 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
22171 | 1 " Vim compiler file |
2 " Compiler: Rhino Shell (JavaScript in Java) | |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
22171
diff
changeset
|
4 " Last Change: 2024 Apr 03 |
22171 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "rhino" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 " CompilerSet makeprg=java\ -jar\ lib/rhino-X.X.XX.jar\ -w\ -strict | |
15 | |
16 CompilerSet makeprg=rhino | |
17 CompilerSet 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 | |
25 let &cpo = s:cpo_save | |
26 unlet s:cpo_save |