annotate runtime/compiler/rhino.vim @ 29694:cb4ddbe3caf3 v9.0.0187

patch 9.0.0187: command line height changes when maximizing window height Commit: https://github.com/vim/vim/commit/96bde99bf890acd9952863a02c1d15edca2000e1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 10 17:23:12 2022 +0100 patch 9.0.0187: command line height changes when maximizing window height Problem: Command line height changes when maximizing window height. Solution: Do not change the command line height. (closes https://github.com/vim/vim/issues/10885)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Aug 2022 18:30:03 +0200
parents d4c7b3e9cd17
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim compiler file
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Compiler: Rhino Shell (JavaScript in Java)
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2019 Jul 10
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists("current_compiler")
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let current_compiler = "rhino"
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 endif
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 let s:cpo_save = &cpo
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 set cpo&vim
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 " CompilerSet makeprg=java\ -jar\ lib/rhino-X.X.XX.jar\ -w\ -strict
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 CompilerSet makeprg=rhino
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 CompilerSet errorformat=%-Gjs:\ %.%#Compilation\ produced%.%#,
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 \%Ejs:\ \"%f\"\\,\ line\ %l:\ %m,
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 \%Ejs:\ uncaught\ JavaScript\ runtime\ exception:\ %m,
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 \%Wjs:\ warning:\ \"%f\"\\,\ line\ %l:\ %m,
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 \%Zjs:\ %p^,
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 \%Cjs:\ %.%#,
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 \%-G%.%#
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 let &cpo = s:cpo_save
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 unlet s:cpo_save