Skip to content

Commit d61463e

Browse files
authored
Merge pull request #1684 from vim-jp/hh-update-quickfix
Update quickfix.{txt,jax}
2 parents ba7ef9e + 7ed466a commit d61463e

File tree

2 files changed

+43
-10
lines changed

2 files changed

+43
-10
lines changed

doc/quickfix.jax

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickfix.txt* For Vim バージョン 9.1. Last change: 2024 Aug 20
1+
*quickfix.txt* For Vim バージョン 9.1. Last change: 2024 Sep 10
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1227,6 +1227,8 @@ Vimの古いバージョンをサポートするために、それらのプラ
12271227

12281228
コンパイラプラグインを書くためには|write-compiler-plugin|を参照せよ。
12291229

1230+
コンパイラプラグインの効果を元に戻すには、|compiler-make| プラグインを使用す
1231+
る。
12301232

12311233
DOTNET *compiler-dotnet*
12321234

@@ -1242,7 +1244,6 @@ g:dotnet_errors_only に |v:true| を設定することで、出力がエラー
12421244
let dotnet_show_project_file = v:false
12431245
compiler dotnet
12441246
<
1245-
12461247
GCC *quickfix-gcc* *compiler-gcc*
12471248

12481249
GCC用に設定できる変数は1つある:
@@ -1253,14 +1254,19 @@ g:compiler_gcc_ignore_unmatched_lines
12531254
のせいで誤検出 (false positive) が発生してしま
12541255
うときに有用である。
12551256

1256-
12571257
JAVAC *compiler-javac*
12581258

12591259
よく使用されるコンパイラオプションは、g:javac_makeprg_params 変数を設定するこ
12601260
とで 'makeprg' に追加できる。例: >
12611261
12621262
let g:javac_makeprg_params = "-Xlint:all -encoding utf-8"
12631263
<
1264+
GNU MAKE *compiler-make*
1265+
1266+
デフォルトの make プログラムは "make" であるため、make のコンパイラプラグイ
1267+
ン :compiler make は、'makeprg' および 'errorformat' オプションをデフォルト値
1268+
にリセットし、以前のコンパイラプラグインによって設定された可能性のある変数をす
1269+
べて解除する。
12641270

12651271
MANX AZTEC C *quickfix-manx* *compiler-manx*
12661272

@@ -1284,6 +1290,18 @@ Vimがコンパイラから起動された場合、:shやいくつかの:!コマ
12841290
がコンパイラと同じプロセスの中で動いているため、標準出力が利用できないからで
12851291
ある。
12861292

1293+
GROFF *quickfix-groff* *compiler-groff*
1294+
1295+
GROFF コンパイラプラグインは、mom マクロセット (groff_mom マニュアルページに記
1296+
載) を入力として使用し、出力ファイルタイプ拡張子が make に渡されることを想定し
1297+
ている。:make html や :make pdf 等。
1298+
1299+
追加の引数は、`b:groff_compiler_args` または `g:groff_compiler_args` に設定す
1300+
ることで groff に渡すことができる。groff に渡される `language` 引数は
1301+
'spelllang' を使用して設定されるが、`b:groff_compiler_lang` を設定することで上
1302+
書きできる。デフォルトのエンコードは `UTF-8` で、`b:groff_compiler_encoding`
1303+
または `g:groff_compiler_encoding` を設定することで変更できる。
1304+
12871305
PANDOC *quickfix-pandoc* *compiler-pandoc*
12881306

12891307
Pandoc コンパイラプラグインは、:make html や :make pdf のように、出力ファイル
@@ -1297,8 +1315,7 @@ Pandoc コンパイラプラグインは、:make html や :make pdf のように
12971315

12981316
`--from` 引数はバッファのファイルタイプを使用した推測である。
12991317
これは、`b:pandoc_compiler_from` を設定することで上書きできる。
1300-
同様に、`--metadata lang` 引数は `&spelllang` を使って設定される。
1301-
これは、`b:pandoc_compiler_lang` を設定することで上書きできる。
1318+
`--metadata lang` 引数は 'spelllang' を使って設定される。
13021319
`--from=markdown` が想定されており、タイトルヘッダや YAML ブロックにタイトルが
13031320
設定されていない場合は、ファイル名 (拡張子なし) がタイトルとして使用される。
13041321

en/quickfix.txt

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

12771277
For writing a compiler plugin, see |write-compiler-plugin|.
12781278

1279+
Use the |compiler-make| plugin to undo the effect of a compiler plugin.
12791280

12801281
DOTNET *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-
12951295
GCC *quickfix-gcc* *compiler-gcc*
12961296

12971297
There'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-
13061305
JAVAC *compiler-javac*
13071306

13081307
Commonly used compiler options can be added to 'makeprg' by setting the
13091308
g: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

13141319
MANX 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
13351340
work, because Vim is then running in the same process as the compiler and
13361341
stdin (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+
13381355
PANDOC *quickfix-pandoc* *compiler-pandoc*
13391356

13401357
The Pandoc compiler plugin expects that an output file type extension is
@@ -1347,8 +1364,7 @@ Additional arguments can be passed to pandoc:
13471364

13481365
The `--from` argument is an educated guess using the buffer file type;
13491366
it 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';
13521368
If `--from=markdown` is assumed and no title set in a title header or
13531369
YAML block, then the filename (without extension) is used as the title.
13541370

0 commit comments

Comments
 (0)