From 0ddab582fa13d1d653800494e45ecfba00974a18 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 16 Jun 2024 16:58:09 +0200 Subject: runtime(java): Add a config variable for commonly used compiler options The value of g:javac_makeprg_params, if set, is added to the value of 'makeprg' as an option string. closes: #14999 Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- runtime/doc/quickfix.txt | 10 +++++++++- runtime/doc/tags | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 7f3654c9ba..e2aef24ed1 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 9.1. Last change: 2024 Jun 09 +*quickfix.txt* For Vim version 9.1. Last change: 2024 Jun 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1303,6 +1303,14 @@ g:compiler_gcc_ignore_unmatched_lines positives. +JAVAC *compiler-javac* + +Commonly used compiler options can be added to 'makeprg' by setting the +g:javac_makeprg_params variable. For example: > + + let g:javac_makeprg_params = "-Xlint:all -encoding utf-8" +< + MANX AZTEC C *quickfix-manx* *compiler-manx* To use Vim with Manx's Aztec C compiler on the Amiga you should do the diff --git a/runtime/doc/tags b/runtime/doc/tags index 9955f0d13e..3665fd3eef 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -6532,6 +6532,7 @@ compiler-dotnet quickfix.txt /*compiler-dotnet* compiler-gcc quickfix.txt /*compiler-gcc* compiler-gnat ft_ada.txt /*compiler-gnat* compiler-hpada ft_ada.txt /*compiler-hpada* +compiler-javac quickfix.txt /*compiler-javac* compiler-manx quickfix.txt /*compiler-manx* compiler-pandoc quickfix.txt /*compiler-pandoc* compiler-perl quickfix.txt /*compiler-perl* -- cgit v1.2.3