Skip to content

Commit b580cb8

Browse files
authored
Merge pull request #1569 from vim-jp/hh-update-options
Update options.{txt,jax}
2 parents 1663329 + f01d567 commit b580cb8

File tree

2 files changed

+29
-12
lines changed

2 files changed

+29
-12
lines changed

doc/options.jax

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2024 Jun 01
1+
*options.txt* For Vim バージョン 9.1. Last change: 2024 Jun 05
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1956,13 +1956,14 @@ Note 1番目の形式では、行全体がオプション指定に使われる
19561956
は、|option-backslash| を参照。
19571957

19581958
*'commentstring'* *'cms'* *E537*
1959-
'commentstring' 'cms' 文字列 (既定では "/*%s*/")
1959+
'commentstring' 'cms' 文字列 (既定では "/* %s */")
19601960
バッファについてローカル
19611961
{|+folding| 機能付きでコンパイルされたときのみ有効}
1962-
コメント用のテンプレート (雛形)。値の中の "%s" はコメントの内容と置き
1963-
換えられる。現在のところ、折り畳み用のマーカーを追加するためにのみ使用
1964-
されている。|fold-marker| を参照。コメントプラグイン |comment-install|
1965-
でも使用される。
1962+
コメント用のテンプレート (雛形)。値内の "%s" はコメントテキストに置き
1963+
換えられ、可能な限りスペースでパディングされるべきである。現在のとこ
1964+
ろ、折り畳み用のマーカーを追加するために使用されている。|fold-marker|
1965+
を参照。一般的にコメントプラグインでも使用される (例:
1966+
|comment-install|)。
19661967

19671968
*'compatible'* *'cp'* *'nocompatible'* *'nocp'*
19681969
'compatible' 'cp' 切替 (既定では オン、ファイル|vimrc|または |gvimrc|
@@ -2143,7 +2144,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
21432144

21442145
*'completeopt'* *'cot'*
21452146
'completeopt' 'cot' 文字列 (既定では "menu,preview")
2146-
グローバル
2147+
グローバル/バッファについてローカル |global-local|
21472148
入力モードでの補完|ins-completion|についてのオプションのコンマ区切りの
21482149
リスト。サポートされている値は次の通り:
21492150

@@ -2187,6 +2188,13 @@ Note 1番目の形式では、行全体がオプション指定に使われる
21872188
自分で選ぶことを強制する。"menu" か "menuone" と組み合わせ
21882189
たときにだけ機能する。
21892190

2191+
fuzzy 補完候補に対して |fuzzy-matching| を有効にする。これによ
2192+
り、より柔軟で直感的なマッチングが可能になり、文字をスキッ
2193+
プしたり、正確なシーケンスが入力されていなくてもマッチを見
2194+
つけることができる。補完候補が選択肢のリストからどのように
2195+
削減されるかに違いがあるだけで、(異なる補完タイプを使用し
2196+
て) 候補が収集される方法には違いはない。
2197+
21902198
*'completepopup'* *'cpp'*
21912199
'completepopup' 'cpp' 字列 (既定では空)
21922200
グローバル

en/options.txt

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Jun 01
1+
*options.txt* For Vim version 9.1. Last change: 2024 Jun 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1909,13 +1909,14 @@ A jump table for the options with a short description can be found at |Q_op|.
19091909
insert a space.
19101910

19111911
*'commentstring'* *'cms'* *E537*
1912-
'commentstring' 'cms' string (default "/*%s*/")
1912+
'commentstring' 'cms' string (default "/* %s */")
19131913
local to buffer
19141914
{not available when compiled without the |+folding|
19151915
feature}
19161916
A template for a comment. The "%s" in the value is replaced with the
1917-
comment text. Currently only used to add markers for folding, see
1918-
|fold-marker|. Also used by comment plugins |comment-install|.
1917+
comment text, and should be padded with a space when possible.
1918+
Currently used to add markers for folding, see |fold-marker| also
1919+
commonly used by commenting plugins (e.g. |comment-install|).
19191920

19201921
*'compatible'* *'cp'* *'nocompatible'* *'nocp'*
19211922
'compatible' 'cp' boolean (default on, off when a |vimrc| or |gvimrc|
@@ -2100,7 +2101,7 @@ A jump table for the options with a short description can be found at |Q_op|.
21002101

21012102
*'completeopt'* *'cot'*
21022103
'completeopt' 'cot' string (default: "menu,preview")
2103-
global
2104+
global or local to buffer |global-local|
21042105
A comma-separated list of options for Insert mode completion
21052106
|ins-completion|. The supported values are:
21062107

@@ -2143,6 +2144,14 @@ A jump table for the options with a short description can be found at |Q_op|.
21432144
select one from the menu. Only works in combination with
21442145
"menu" or "menuone".
21452146

2147+
fuzzy Enable |fuzzy-matching| for completion candidates. This
2148+
allows for more flexible and intuitive matching, where
2149+
characters can be skipped and matches can be found even
2150+
if the exact sequence is not typed. Only makes a
2151+
difference how completion candidates are reduced from the
2152+
list of alternatives, but not how the candidates are
2153+
collected (using different completion types).
2154+
21462155
*'completepopup'* *'cpp'*
21472156
'completepopup' 'cpp' string (default empty)
21482157
global

0 commit comments

Comments
 (0)