1- *quickfix.txt* For Vim version 9.1. Last change: 2024 Aug 20
1+ *quickfix.txt* For Vim version 9.1. Last change: 2024 Sep 10
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1276,6 +1276,7 @@ not "b:current_compiler". What the command actually does is the following:
12761276
12771277For writing a compiler plugin, see | write-compiler-plugin | .
12781278
1279+ Use the | compiler-make | plugin to undo the effect of a compiler plugin.
12791280
12801281DOTNET *compiler-dotnet*
12811282
@@ -1291,7 +1292,6 @@ Example: limit output to only display errors, and suppress the project name: >
12911292 let dotnet_show_project_file = v:false
12921293 compiler dotnet
12931294<
1294-
12951295GCC *quickfix-gcc* *compiler-gcc*
12961296
12971297There's one variable you can set for the GCC compiler:
@@ -1302,14 +1302,19 @@ g:compiler_gcc_ignore_unmatched_lines
13021302 commands run from make are generating false
13031303 positives.
13041304
1305-
13061305JAVAC *compiler-javac*
13071306
13081307Commonly used compiler options can be added to 'makeprg' by setting the
13091308g:javac_makeprg_params variable. For example: >
13101309
13111310 let g:javac_makeprg_params = "-Xlint:all -encoding utf-8"
13121311<
1312+ GNU MAKE *compiler-make*
1313+
1314+ Since the default make program is "make", the compiler plugin for make,
1315+ :compiler make, will reset the 'makeprg' and 'errorformat' option to
1316+ the default values and unlet any variables that may have been set by a
1317+ previous compiler plugin.
13131318
13141319MANX AZTEC C *quickfix-manx* *compiler-manx*
13151320
@@ -1335,6 +1340,18 @@ If Vim was started from the compiler, the :sh and some :! commands will not
13351340work, because Vim is then running in the same process as the compiler and
13361341stdin (standard input) will not be interactive.
13371342
1343+ GROFF *quickfix-groff* *compiler-groff*
1344+
1345+ The GROFF compiler plugin uses the mom macro set (documented in the groff_mom
1346+ manpage) as input and expects that the output file type extension is passed to
1347+ make, say :make html or :make pdf.
1348+
1349+ Additional arguments can be passed to groff by setting them in
1350+ `b: groff_compiler_args ` or `g: groff_compiler_args ` . The `language ` argument
1351+ passed to groff is set using 'spelllang' ; it can be overridden by setting
1352+ `b: groff_compiler_lang ` . The default enconding is `UTF- 8 ` and can be changed
1353+ by setting `b: groff_compiler_encoding ` or `g: groff_compiler_encoding ` .
1354+
13381355PANDOC *quickfix-pandoc* *compiler-pandoc*
13391356
13401357The Pandoc compiler plugin expects that an output file type extension is
@@ -1347,8 +1364,7 @@ Additional arguments can be passed to pandoc:
13471364
13481365The `-- from` argument is an educated guess using the buffer file type;
13491366it can be overridden by setting `b: pandoc_compiler_from ` .
1350- Likewise the `--metadata lang` argument is set using `&spelllang ` ;
1351- it can be overridden by setting `b: pandoc_compiler_lang ` .
1367+ The `--metadata lang` argument is set using 'spelllang' ;
13521368If `- -from =markdown` is assumed and no title set in a title header or
13531369YAML block, then the filename (without extension) is used as the title.
13541370
0 commit comments