Skip to content

Update quickfix.{txt,jax} #1521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 23 additions & 7 deletions doc/quickfix.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*quickfix.txt* For Vim バージョン 9.1. Last change: 2023 Jan 18
*quickfix.txt* For Vim バージョン 9.1. Last change: 2024 Apr 28


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -266,7 +266,8 @@ locationリストが |autocommand| に変更される場合、それは中断さ
ウィンドウのlocationリストが使われる。

*:cb* *:cbuffer* *E681*
:cb[uffer][!] [bufnr] カレントバッファからエラーリストを読み込む。[bufnr] を
:[range]cb[uffer][!] [bufnr]
カレントバッファからエラーリストを読み込む。[bufnr] を
指定すると、カレントバッファの代わりにそのバッファが使
われる。bufnrには読み込まれているバッファ番号を指定し
なければならない。範囲を指定すると、読み込む行を指定す
Expand All @@ -275,25 +276,30 @@ locationリストが |autocommand| に変更される場合、それは中断さ
[!]については|:cc|を参照。

*:lb* *:lbuffer*
:lb[uffer][!] [bufnr] ":cbuffer" と同様だが、quickfixリストでなく、カレント
:[range]lb[uffer][!] [bufnr]
":cbuffer" と同様だが、quickfixリストでなく、カレント
ウィンドウのlocationリストが使われる。

*:cgetb* *:cgetbuffer*
:cgetb[uffer] [bufnr] カレントバッファからエラーリストを読み込む。":cbuffer"
:[range]cgetb[uffer] [bufnr]
カレントバッファからエラーリストを読み込む。":cbuffer"
と同じだが、最初のエラーにジャンプしない点が異なる。

*:lgetb* *:lgetbuffer*
:lgetb[uffer] [bufnr] ":cgetbuffer" と同様だが、quickfixリストでなく、カレン
:[range]lgetb[uffer] [bufnr]
":cgetbuffer" と同様だが、quickfixリストでなく、カレン
トウィンドウのlocationリストが使われる。

*:cad* *:cadd* *:caddbuffer*
:cad[dbuffer] [bufnr] カレントバッファからエラーリストを読み込み、現在の
:[range]cad[dbuffer] [bufnr]
カレントバッファからエラーリストを読み込み、現在の
quickfixリストにエラーを追加する。quickfixリストがまだ
存在しない場合は、新しいリストが作成される。それ以外は
":cbuffer" と同じ。

*:laddb* *:laddbuffer*
:laddb[uffer] [bufnr] ":caddbuffer" と同様だが、quickfixリストでなく、カレン
:[range]laddb[uffer] [bufnr]
":caddbuffer" と同様だが、quickfixリストでなく、カレン
トウィンドウのlocationリストが使われる。

*:cex* *:cexpr* *E777*
Expand Down Expand Up @@ -1270,6 +1276,16 @@ Vimがコンパイラから起動された場合、:shやいくつかの:!コマ
がコンパイラと同じプロセスの中で動いているため、標準出力が利用できないからで
ある。

PANDOC *quickfix-pandoc* *compiler-pandoc*

Pandoc コンパイラプラグインは、:make html や :make pdf のように、出力ファイル
タイプの拡張子が make に渡されることを想定している。

追加の引数を Pandoc に渡すことができる:

- `:make html --self-contained` のように make に追加することによっても可能であ
る。
- または、`b:pandoc_compiler_args` か `g:pandoc_compiler_args` に設定する。

PERL *quickfix-perl* *compiler-perl*

Expand Down
29 changes: 22 additions & 7 deletions en/quickfix.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*quickfix.txt* For Vim version 9.1. Last change: 2023 Jan 18
*quickfix.txt* For Vim version 9.1. Last change: 2024 Apr 28


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -287,7 +287,8 @@ processing a quickfix or location list command, it will be aborted.
current window is used instead of the quickfix list.

*:cb* *:cbuffer* *E681*
:cb[uffer][!] [bufnr] Read the error list from the current buffer.
:[range]cb[uffer][!] [bufnr]
Read the error list from the current buffer.
When [bufnr] is given it must be the number of a
loaded buffer. That buffer will then be used instead
of the current buffer.
Expand All @@ -296,26 +297,31 @@ processing a quickfix or location list command, it will be aborted.
See |:cc| for [!].

*:lb* *:lbuffer*
:lb[uffer][!] [bufnr] Same as ":cbuffer", except the location list for the
:[range]lb[uffer][!] [bufnr]
Same as ":cbuffer", except the location list for the
current window is used instead of the quickfix list.

*:cgetb* *:cgetbuffer*
:cgetb[uffer] [bufnr] Read the error list from the current buffer. Just
:[range]cgetb[uffer] [bufnr]
Read the error list from the current buffer. Just
like ":cbuffer" but don't jump to the first error.

*:lgetb* *:lgetbuffer*
:lgetb[uffer] [bufnr] Same as ":cgetbuffer", except the location list for
:[range]lgetb[uffer] [bufnr]
Same as ":cgetbuffer", except the location list for
the current window is used instead of the quickfix
list.

*:cad* *:cadd* *:caddbuffer*
:cad[dbuffer] [bufnr] Read the error list from the current buffer and add
:[range]cad[dbuffer] [bufnr]
Read the error list from the current buffer and add
the errors to the current quickfix list. If a
quickfix list is not present, then a new list is
created. Otherwise, same as ":cbuffer".

*:laddb* *:laddbuffer*
:laddb[uffer] [bufnr] Same as ":caddbuffer", except the location list for
:[range]laddb[uffer] [bufnr]
Same as ":caddbuffer", except the location list for
the current window is used instead of the quickfix
list.

Expand Down Expand Up @@ -1321,6 +1327,15 @@ If Vim was started from the compiler, the :sh and some :! commands will not
work, because Vim is then running in the same process as the compiler and
stdin (standard input) will not be interactive.

PANDOC *quickfix-pandoc* *compiler-pandoc*

The Pandoc compiler plugin expects that an output file type extension is
passed to make, say :make html or :make pdf.

Additional arguments can be passed to pandoc:

- either by appending them to make, say `:make html --self-contained` .
- or setting them in `b:pandoc_compiler_args` or `g:pandoc_compiler_args`

PERL *quickfix-perl* *compiler-perl*

Expand Down