Skip to content

Commit b6f03e2

Browse files
authored
Merge pull request #1609 from vim-jp/hh-update-options
Update options.{txt,jax}
2 parents 60c9a64 + 29ae942 commit b6f03e2

File tree

2 files changed

+29
-12
lines changed

2 files changed

+29
-12
lines changed

doc/options.jax

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2024 Jun 19
1+
*options.txt* For Vim バージョン 9.1. Last change: 2024 Jul 09
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2194,11 +2194,6 @@ Note 1番目の形式では、行全体がオプション指定に使われる
21942194
つけることができる。補完候補が選択肢のリストからどのように
21952195
削減されるかに違いがあるだけで、(異なる補完タイプを使用し
21962196
て) 候補が収集される方法には違いはない。
2197-
fuzzycollect
2198-
デフォルトのキーワード補完のあいまい収集を有効にする。これ
2199-
により、あいまいマッチの基準を使用してマッチを収集できるよ
2200-
うになり、より包括的で柔軟な結果が得られる。他のあいまいオ
2201-
プションと組み合わせて使用できる。
22022197

22032198
*'completepopup'* *'cpp'*
22042199
'completepopup' 'cpp' 字列 (既定では空)
@@ -5961,6 +5956,19 @@ Note 1番目の形式では、行全体がオプション指定に使われる
59615956
CTRL-X を "0" もしくは CTRL-A を "18446744073709551615"
59625957
(2^64 - 1) 上で使っても効果はなく、オーバーフローが防がれ
59635958
る。
5959+
blank 含まれている場合は、先行する空白に基づいて数値を符号付きまたは
5960+
符号なしとして扱う。先頭にダッシュがある数値の直前に空白以外の
5961+
文字 (つまり、タブまたは " " ではない文字) がある場合、負の符
5962+
号は数値の一部としてはみなされない。例:
5963+
"Carbon-14" の "14" で CTRL-A を使用すると、"Carbon-15"
5964+
になる ("blank" がなければ "Carbon-13" になる)。
5965+
"Carbon -8" の "8" で CTRL-X を使用すると、"Carbon -9" に
5966+
なります (-8 の前に空白があるため。"unsigned" が設定されて
5967+
いる場合は、"Carbon -7" になる)。
5968+
この形式が含まれている場合、"unsigned" が設定されているかのよ
5969+
うにオーバーフローは防がれる。この形式と "unsigned" の両方が含
5970+
まれている場合、"unsigned" が優先される。
5971+
59645972
1 から 9 の数字で始まる数は、常に10進数として認識される。8進数または16
59655973
進数として認識されない数も10進数として認識される。
59665974

en/options.txt

Lines changed: 15 additions & 6 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 19
1+
*options.txt* For Vim version 9.1. Last change: 2024 Jul 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2151,11 +2151,6 @@ A jump table for the options with a short description can be found at |Q_op|.
21512151
difference how completion candidates are reduced from the
21522152
list of alternatives, but not how the candidates are
21532153
collected (using different completion types).
2154-
fuzzycollect
2155-
Enable fuzzy collection for default keyword completion.
2156-
This allows the collection of matches using fuzzy matching
2157-
criteria, providing more comprehensive and flexible
2158-
results. Works in combination with other fuzzy options.
21592154

21602155
*'completepopup'* *'cpp'*
21612156
'completepopup' 'cpp' string (default empty)
@@ -5918,6 +5913,20 @@ A jump table for the options with a short description can be found at |Q_op|.
59185913
(without "unsigned" it would become "9-2019").
59195914
Using CTRL-X on "0" or CTRL-A on "18446744073709551615"
59205915
(2^64 - 1) has no effect, overflow is prevented.
5916+
blank If included, treat numbers as signed or unsigned based on
5917+
preceding whitespace. If a number with a leading dash has its
5918+
dash immediately preceded by a non-whitespace character (i.e.,
5919+
not a tab or a " "), the negative sign won't be considered as
5920+
part of the number. For example:
5921+
Using CTRL-A on "14" in "Carbon-14" results in "Carbon-15"
5922+
(without "blank" it would become "Carbon-13").
5923+
Using CTRL-X on "8" in "Carbon -8" results in "Carbon -9"
5924+
(because -8 is preceded by whitespace. If "unsigned" was
5925+
set, it would result in "Carbon -7").
5926+
If this format is included, overflow is prevented as if
5927+
"unsigned" were set. If both this format and "unsigned" are
5928+
included, "unsigned" will take precedence.
5929+
59215930
Numbers which simply begin with a digit in the range 1-9 are always
59225931
considered decimal. This also happens for numbers that are not
59235932
recognized as octal or hex.

0 commit comments

Comments
 (0)