runtime(make): add compiler/make.vim to reset compiler plugin settings

closes: #15645

Co-authored-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Konfekt
2024-09-10 21:06:22 +02:00
committed by Christian Brabandt
parent a9ae38dc3f
commit 077d1d2cff
4 changed files with 24 additions and 3 deletions

View File

@ -1,4 +1,4 @@
*quickfix.txt* For Vim version 9.1. Last change: 2024 Sep 09
*quickfix.txt* For Vim version 9.1. Last change: 2024 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1276,6 +1276,7 @@ not "b:current_compiler". What the command actually does is the following:
For writing a compiler plugin, see |write-compiler-plugin|.
Use the |compiler-make| plugin to undo the effect of a compiler plugin.
DOTNET *compiler-dotnet*
@ -1291,7 +1292,6 @@ Example: limit output to only display errors, and suppress the project name: >
let dotnet_show_project_file = v:false
compiler dotnet
<
GCC *quickfix-gcc* *compiler-gcc*
There's one variable you can set for the GCC compiler:
@ -1302,7 +1302,6 @@ g:compiler_gcc_ignore_unmatched_lines
commands run from make are generating false
positives.
JAVAC *compiler-javac*
Commonly used compiler options can be added to 'makeprg' by setting the
@ -1310,6 +1309,12 @@ g:javac_makeprg_params variable. For example: >
let g:javac_makeprg_params = "-Xlint:all -encoding utf-8"
<
GNU MAKE *compiler-make*
Since the default make program is "make", the compiler plugin for make,
:compiler make, will reset the 'makeprg' and 'errorformat' option to
the default values and unlet any variables that may have been set by a
previous compiler plugin.
MANX AZTEC C *quickfix-manx* *compiler-manx*