Skip to content

Commit f13a25e

Browse files
committed
Update options.{txt,jax}
1 parent 6b2bcaa commit f13a25e

File tree

2 files changed

+70
-14
lines changed

2 files changed

+70
-14
lines changed

doc/options.jax

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Mar 14
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Apr 04
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2934,7 +2934,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
29342934
内で設定することはできない。
29352935

29362936
*'dip'* *'diffopt'*
2937-
'diffopt' 'dip' 文字列 (既定では "internal,filler,closeoff")
2937+
'diffopt' 'dip' 文字列 (既定では
2938+
"internal,filler,closeoff,inline:simple")
29382939
グローバル
29392940
{|+diff| 機能付きでコンパイルされたときのみ有効}
29402941
差分モード用のオプション設定。以下の項目で構成できる。すべてオプション
@@ -2997,6 +2998,23 @@ Note 1番目の形式では、行全体がオプション指定に使われる
29972998
内部 diff ライブラリのインデントヒューリスティ
29982999
ックを使用する。
29993000

3001+
inline:{text} 変更内のインライン diff をハイライトする。
3002+
|view-diffs| を参照。サポートされている値は次
3003+
のとおり:
3004+
3005+
none インラインハイライトを実行しない。
3006+
simple 各行の最初の異なる文字から最後の文字ま
3007+
でをハイライトする。`inline:` 値が設定
3008+
されていない場合はこれがデフォルトであ
3009+
る。
3010+
char 内部 diff を使用して文字ごとの diff を
3011+
実行し、違いをハイライトする。
3012+
word 内部 diff を使用して |word| 単位の
3013+
diff を実行し、違いをハイライトする。
3014+
絵文字やCJK 文字などの英数字以外のマル
3015+
チバイト文字は、個別の単語として扱われ
3016+
る。
3017+
30003018
internal 内部 diff ライブラリを使用する。'diffexpr' が
30013019
設定されている場合は無視される。 *E960*
30023020
バッファを書き込むときにメモリが不足すると、こ
@@ -4424,10 +4442,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる
44244442
v:Visual,V:VisualNOS,w:WarningMsg,
44254443
W:WildMenu,f:Folded,F:FoldColumn,
44264444
A:DiffAdd,C:DiffChange,D:DiffDelete,
4427-
T:DiffText,>:SignColumn,-:Conceal,
4428-
B:SpellBad,P:SpellCap,R:SpellRare,
4429-
L:SpellLocal,+:Pmenu,=:PmenuSel,
4430-
k:PmenuMatch,<:PmenuMatchSel,
4445+
T:DiffText,E:DiffTextAdd,>:SignColumn,
4446+
-:Conceal,B:SpellBad,P:SpellCap,
4447+
R:SpellRare, L:SpellLocal,+:Pmenu,
4448+
=:PmenuSel, k:PmenuMatch,<:PmenuMatchSel,
44314449
[:PmenuKind,]:PmenuKindSel,
44324450
{:PmenuExtra,}:PmenuExtraSel,
44334451
x:PmenuSbar,X:PmenuThumb,*:TabLine,
@@ -4483,7 +4501,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
44834501
|hl-DiffAdd| A 差分モードで追加された行
44844502
|hl-DiffChange| C 差分モードで変更された行
44854503
|hl-DiffDelete| D 差分モードで削除された行
4486-
|hl-DiffText| T 差分モードで挿入されたテキスト
4504+
|hl-DiffText| T 差分モードで変更されたテキスト
4505+
|hl-DiffTextAdd| E 差分モードで挿入されたテキスト
44874506
|hl-SignColumn| > |signs| に使われる桁
44884507
|hl-Conceal| - Conceal テキストの代替表示 ('conceallevel' 参照)
44894508
|hl-SpellBad| B スペルミスの単語 |spell|
@@ -6495,6 +6514,14 @@ Note 1番目の形式では、行全体がオプション指定に使われる
64956514
0 のときはスペースの許す限り多く表示される。
64966515
|ins-completion-menu|
64976516

6517+
*'pummaxwidth'* *'pmw'*
6518+
'pummaxwidth' 'pmw' 数値 (既定では 0)
6519+
グローバル
6520+
補完用のポップアップメニューに使用する最大幅を決定する。ゼロの場合、最
6521+
大幅の制限はない。それ以外の場合、ポップアップメニューはこの値より広く
6522+
なることはない。切り捨てられたテキストは末尾に "..." で示される。
6523+
'pumwidth' よりも優先される。 |ins-completion-menu|。
6524+
64986525
*'pumwidth'* *'pw'*
64996526
'pumwidth' 'pw' 数値 (既定では 15)
65006527
グローバル

en/options.txt

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Mar 14
1+
*options.txt* For Vim version 9.1. Last change: 2025 Apr 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2910,7 +2910,8 @@ A jump table for the options with a short description can be found at |Q_op|.
29102910
security reasons.
29112911

29122912
*'dip'* *'diffopt'*
2913-
'diffopt' 'dip' string (default "internal,filler,closeoff")
2913+
'diffopt' 'dip' string (default
2914+
"internal,filler,closeoff,inline:simple")
29142915
global
29152916
{not available when compiled without the |+diff|
29162917
feature}
@@ -2975,6 +2976,24 @@ A jump table for the options with a short description can be found at |Q_op|.
29752976
Use the indent heuristic for the internal
29762977
diff library.
29772978

2979+
inline:{text} Highlight inline differences within a change.
2980+
See |view-diffs|. Supported values are:
2981+
2982+
none Do not perform inline highlighting.
2983+
simple Highlight from first different
2984+
character to the last one in each
2985+
line. This is the default if no
2986+
`inline:` value is set.
2987+
char Use internal diff to perform a
2988+
character-wise diff and highlight the
2989+
difference.
2990+
word Use internal diff to perform a
2991+
|word|-wise diff and highlight the
2992+
difference. Non-alphanumeric
2993+
multi-byte characters such as emoji
2994+
and CJK characters are considered
2995+
individual words.
2996+
29782997
internal Use the internal diff library. This is
29792998
ignored when 'diffexpr' is set. *E960*
29802999
When running out of memory when writing a
@@ -4392,10 +4411,10 @@ A jump table for the options with a short description can be found at |Q_op|.
43924411
v:Visual,V:VisualNOS,w:WarningMsg,
43934412
W:WildMenu,f:Folded,F:FoldColumn,
43944413
A:DiffAdd,C:DiffChange,D:DiffDelete,
4395-
T:DiffText,>:SignColumn,-:Conceal,
4396-
B:SpellBad,P:SpellCap,R:SpellRare,
4397-
L:SpellLocal,+:Pmenu,=:PmenuSel,
4398-
k:PmenuMatch,<:PmenuMatchSel,
4414+
T:DiffText,E:DiffTextAdd,>:SignColumn,
4415+
-:Conceal,B:SpellBad,P:SpellCap,
4416+
R:SpellRare, L:SpellLocal,+:Pmenu,
4417+
=:PmenuSel, k:PmenuMatch,<:PmenuMatchSel,
43994418
[:PmenuKind,]:PmenuKindSel,
44004419
{:PmenuExtra,}:PmenuExtraSel,
44014420
x:PmenuSbar,X:PmenuThumb,*:TabLine,
@@ -4447,7 +4466,8 @@ A jump table for the options with a short description can be found at |Q_op|.
44474466
|hl-DiffAdd| A added line in diff mode
44484467
|hl-DiffChange| C changed line in diff mode
44494468
|hl-DiffDelete| D deleted line in diff mode
4450-
|hl-DiffText| T inserted text in diff mode
4469+
|hl-DiffText| T changed text in diff mode
4470+
|hl-DiffTextAdd| E inserted text in diff mode
44514471
|hl-SignColumn| > column used for |signs|
44524472
|hl-Conceal| - the placeholders used for concealed characters
44534473
(see 'conceallevel')
@@ -6459,6 +6479,15 @@ A jump table for the options with a short description can be found at |Q_op|.
64596479
global
64606480
Determines the maximum number of items to show in the popup menu for
64616481
Insert mode completion. When zero as much space as available is used.
6482+
|ins-completion-menu|.
6483+
6484+
*'pummaxwidth'* *'pmw'*
6485+
'pummaxwidth' 'pmw' number (default 0)
6486+
global
6487+
Determines the maximum width to use for the popup menu for completion.
6488+
When zero, there is no maximum width limit, otherwise the popup menu
6489+
will never be wider than this value. Truncated text will be indicated
6490+
by "..." at the end. Takes precedence over 'pumwidth'.
64626491
|ins-completion-menu|.
64636492

64646493
*'pumwidth'* *'pw'*

0 commit comments

Comments
 (0)