Skip to content

Commit 26f60d7

Browse files
committed
Update options.{txt,jax}
1 parent e4f3fd6 commit 26f60d7

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

doc/options.jax

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Jul 05
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Jul 08
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -9787,6 +9787,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
97879787
< 'wildchar' は、|/|、|?|、|:s|、|:g|、|:v|、|:vim| などの検索パターンコ
97889788
ンテキストでも補完を有効にする。補完をトリガーする代わりに、文字の
97899789
<Tab> を挿入するには、<C-V><Tab> または "\t" と入力する。
9790+
|'wildoptions'| も参照。
97909791
NOTE: このオプションは 'compatible' がオンになると Vi の既定値に設定さ
97919792
れ、'compatible' がオフになると Vim の既定値に設定されるので注意。
97929793

@@ -9949,6 +9950,20 @@ Note 1番目の形式では、行全体がオプション指定に使われる
99499950
コマンドライン補完 |cmdline-completion| の挙動を変える単語のリスト。
99509951

99519952
以下の値をサポートする:
9953+
exacttext このフラグを指定すると、検索パターン補完 (例: |/|、
9954+
|?|、|:s|、|:g|、|:v|、|:vim|) で、正規表現の位置アン
9955+
カー (例: |/<|) のような記号を含めず、バッファ内の実際
9956+
のテキストと完全にマッチする内容がメニュー項目として表
9957+
示される。これにより、バッファ内のテキストと直感的に
9958+
マッチするメニュー項目が表示される。
9959+
ただし、パターンが正確に保存されないため、検索の精度が
9960+
低下する可能性がある。
9961+
デフォルトでは、Vim は入力されたパターン (アンカー付き)
9962+
を保存し、マッチした単語を追加する。これにより、特に正
9963+
規表現を使用している場合や 'smartcase' が有効になって
9964+
いる場合に、検索の正確性が維持される。ただし、追加され
9965+
たマッチした単語の大文字と小文字は、バッファ内の単語の
9966+
大文字と小文字が完全にマッチしない場合がある。
99529967
fuzzy 補完のマッチ検索にファジーマッチ |fuzzy-matching| を使
99539968
用する。この値が設定された場合、補完でワイルドカード展
99549969
開が使用されなくなる。マッチ結果はアルファベット順ソー

en/options.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Jul 05
1+
*options.txt* For Vim version 9.1. Last change: 2025 Jul 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -9759,6 +9759,7 @@ A jump table for the options with a short description can be found at |Q_op|.
97599759
< 'wildchar' also enables completion in search pattern contexts such as
97609760
|/|, |?|, |:s|, |:g|, |:v|, and |:vim|. To insert a literal <Tab>
97619761
instead of triggering completion, type <C-V><Tab> or "\t".
9762+
See also |'wildoptions'|.
97629763
NOTE: This option is set to the Vi default value when 'compatible' is
97639764
set and to the Vim default value when 'compatible' is reset.
97649765

@@ -9926,6 +9927,20 @@ A jump table for the options with a short description can be found at |Q_op|.
99269927
A list of words that change how |cmdline-completion| is done.
99279928

99289929
The following values are supported:
9930+
exacttext When this flag is present, search pattern completion
9931+
(e.g., in |/|, |?|, |:s|, |:g|, |:v|, and |:vim|)
9932+
shows exact buffer text as menu items, without
9933+
preserving regex artifacts like position
9934+
anchors (e.g., |/\<|). This provides more intuitive
9935+
menu items that match the actual buffer text.
9936+
However, searches may be less accurate since the
9937+
pattern is not preserved exactly.
9938+
By default, Vim preserves the typed pattern (with
9939+
anchors) and appends the matched word. This preserves
9940+
search correctness, especially when using regular
9941+
expressions or with 'smartcase' enabled. However, the
9942+
case of the appended matched word may not exactly
9943+
match the case of the word in the buffer.
99299944
fuzzy Use |fuzzy-matching| to find completion matches. When
99309945
this value is specified, wildcard expansion will not
99319946
be used for completion. The matches will be sorted by

0 commit comments

Comments
 (0)