Skip to content

Commit 8011048

Browse files
authored
Merge pull request #2029 from h-east/update-options
Update options.{txt,jax}
2 parents 67208a2 + 1e44971 commit 8011048

File tree

2 files changed

+149
-26
lines changed

2 files changed

+149
-26
lines changed

Diff for: doc/options.jax

+76-16
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 08
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1625,7 +1625,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
16251625
るというのがあり、もしファイルが他のプログラムに変更されても認識されな
16261626
い。
16271627

1628-
"quickfix" バッファはエラーリストとロケーションリストにのみ使われる
1628+
"quickfix" バッファはエラーリストと location リストにのみ使われる
16291629
この値はコマンド|:cwindow| と|:lwindow|で設定され、ユーザーが変更するこ
16301630
とはないはずである。
16311631

@@ -1765,6 +1765,17 @@ Note 1番目の形式では、行全体がオプション指定に使われる
17651765
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
17661766
内で設定することはできない。
17671767

1768+
*'chistory'* *'chi'*
1769+
'chistory' 'chi' 数値 (既定では 10)
1770+
グローバル
1771+
{|+quickfix| 機能付きでコンパイルされたときのみ有効}
1772+
quickfix スタックに記憶する quickfix リストの数。1 から 100 の間で指定
1773+
する必要がある。このオプションが quickfix リストスタック内のエントリ数
1774+
よりも小さい値に設定された場合、エントリは最も古いものから削除される。
1775+
現在の quickfix リストが削除された場合、スタックの先頭 (最も最近作成さ
1776+
れたもの) の quickfix リストが代わりに使用される。詳細については、
1777+
|quickfix-stack| を参照。
1778+
17681779
*'cindent'* *'cin'* *'nocindent'* *'nocin'*
17691780
'cindent' 'cin' 切替 (既定ではオフ)
17701781
バッファについてローカル
@@ -2934,7 +2945,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
29342945
内で設定することはできない。
29352946

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

3012+
inline:{text} 変更内のインライン diff をハイライトする。
3013+
|view-diffs| を参照。サポートされている値は次
3014+
のとおり:
3015+
3016+
none インラインハイライトを実行しない。
3017+
simple 各行の最初の異なる文字から最後の文字ま
3018+
でをハイライトする。`inline:` 値が設定
3019+
されていない場合はこれがデフォルトであ
3020+
る。
3021+
char 内部 diff を使用して文字ごとの diff を
3022+
実行し、違いをハイライトする。
3023+
word 内部 diff を使用して |word| 単位の
3024+
diff を実行し、違いをハイライトする。
3025+
絵文字や CJK 文字などの英数字以外のマ
3026+
ルチバイト文字は、個別の単語として扱わ
3027+
れる。
3028+
30003029
internal 内部 diff ライブラリを使用する。'diffexpr' が
30013030
設定されている場合は無視される。 *E960*
30023031
バッファを書き込むときにメモリが不足すると、こ
@@ -3596,9 +3625,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる
35963625
*'fillchars'* *'fcs'*
35973626
'fillchars' 'fcs' 文字列 (既定では "vert:|,fold:-,eob:~,lastline:@")
35983627
グローバル/ウィンドウについてローカル |global-local|
3599-
ウィンドウのステータス行、垂直分割の区切り、特殊行を埋める文字。
3600-
これはコンマで区切られた項目のリストである。各項目には、名前、コロン、
3601-
およびその項目の値がある: |E1511|
3628+
ウィンドウのステータス行、垂直分割の区切り、特殊行、および
3629+
|ins-completion-menu| 内の切り捨てられたテキストを埋めるための文字。こ
3630+
れはコンマで区切られた項目のリストである。各項目には、名前、コロン、お
3631+
よびその項目の値がある: |E1511|
36023632

36033633
キーワード 既定値 変更の対象 ~
36043634
stl ' ' カレントウィンドウのステータス行
@@ -3611,6 +3641,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
36113641
diff '-' 'diff' での削除された行
36123642
eob '~' バッファ終端以降の空行
36133643
lastline '@' 'display' が含む最終行/切り捨て
3644+
trunc '>' |ins-completion-menu| 内の切り捨てられ
3645+
たテキスト
36143646

36153647
指定されなかったキーワードについては、既定値が使われる。
36163648

@@ -3621,15 +3653,20 @@ Note 1番目の形式では、行全体がオプション指定に使われる
36213653
トおよびマルチバイトの文字をサポートしている。しかし全角文字幅の文字は
36223654
サポートしていない。|E1512|
36233655

3624-
強調表示が行われるものおよびその属するグループ:
3656+
ハイライトが行われるものおよびその属するグループ:
36253657
項目名 ハイライトグループ ~
36263658
stl StatusLine |hl-StatusLine|
36273659
stlnc StatusLineNC |hl-StatusLineNC|
36283660
vert VertSplit |hl-VertSplit|
36293661
fold Folded |hl-Folded|
3662+
foldopen FoldColumn |hl-FoldColumn|
3663+
foldclose FoldColumn |hl-FoldColumn|
3664+
foldsep FoldColumn |hl-FoldColumn|
36303665
diff DiffDelete |hl-DiffDelete|
36313666
eob EndOfBuffer |hl-EndOfBuffer|
36323667
lastline NonText |hl-NonText|
3668+
trunc |hl-PmenuSel| のような多くのポップアップメニューハイラ
3669+
イトグループの 1 つ。
36333670

36343671
*'findfunc'* *'ffu'* *E1514*
36353672
'findfunc' 'ffu' 文字列 (既定では "")
@@ -4424,10 +4461,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる
44244461
v:Visual,V:VisualNOS,w:WarningMsg,
44254462
W:WildMenu,f:Folded,F:FoldColumn,
44264463
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,
4464+
T:DiffText,E:DiffTextAdd,>:SignColumn,
4465+
-:Conceal,B:SpellBad,P:SpellCap,
4466+
R:SpellRare, L:SpellLocal,+:Pmenu,
4467+
=:PmenuSel, k:PmenuMatch,<:PmenuMatchSel,
44314468
[:PmenuKind,]:PmenuKindSel,
44324469
{:PmenuExtra,}:PmenuExtraSel,
44334470
x:PmenuSbar,X:PmenuThumb,*:TabLine,
@@ -4483,7 +4520,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
44834520
|hl-DiffAdd| A 差分モードで追加された行
44844521
|hl-DiffChange| C 差分モードで変更された行
44854522
|hl-DiffDelete| D 差分モードで削除された行
4486-
|hl-DiffText| T 差分モードで挿入されたテキスト
4523+
|hl-DiffText| T 差分モードで変更されたテキスト
4524+
|hl-DiffTextAdd| E 差分モードで挿入されたテキスト
44874525
|hl-SignColumn| > |signs| に使われる桁
44884526
|hl-Conceal| - Conceal テキストの代替表示 ('conceallevel' 参照)
44894527
|hl-SpellBad| B スペルミスの単語 |spell|
@@ -5348,6 +5386,17 @@ Note 1番目の形式では、行全体がオプション指定に使われる
53485386
これにより表示エラーとなることがある。再描画によってちらつきや速度低下
53495387
になる場合にのみ一時的に設定することを目的としてる。
53505388

5389+
*'lhistory'* *'lhi'*
5390+
'lhistory' 'lhi' 数値 (既定では 10)
5391+
ウィンドウについてローカル
5392+
{|+quickfix| 機能付きでコンパイルされたときのみ有効}
5393+
'chistory' と同様だが、ウィンドウに関連付けられた location リストスタッ
5394+
クを対象としている。 location リストウィンドウ自体、または location リ
5395+
ストスタックに関連付けられたウィンドウのいずれかでオプションが変更され
5396+
た場合、新しい値はもう一方のウィンドウにも適用される。つまりこの値は、
5397+
特定の location リストウィンドウとそれに対応するウィンドウで常に同じに
5398+
なる。詳細については |quickfix-stack| を参照。
5399+
53515400
*'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*
53525401
'linebreak' 'lbr' 切替 (既定ではオフ)
53535402
ウィンドウについてローカル
@@ -6495,6 +6544,17 @@ Note 1番目の形式では、行全体がオプション指定に使われる
64956544
0 のときはスペースの許す限り多く表示される。
64966545
|ins-completion-menu|
64976546

6547+
*'pummaxwidth'* *'pmw'*
6548+
'pummaxwidth' 'pmw' 数値 (既定では 0)
6549+
グローバル
6550+
補完用のポップアップメニューに使用する最大幅を決定する。ゼロの場合、最
6551+
大幅の制限はない。それ以外の場合、ポップアップメニューはこの値より広く
6552+
なることはない。切り捨てられたテキストは、'fillchars' オプションの
6553+
"trunc" 値によって表示される。
6554+
6555+
このオプションは 'pumwidth' よりも優先される。
6556+
|ins-completion-menu|。
6557+
64986558
*'pumwidth'* *'pw'*
64996559
'pumwidth' 'pw' 数値 (既定では 15)
65006560
グローバル
@@ -6574,10 +6634,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる
65746634
'quickfixtextfunc' 'qftf' 文字列 (既定では "")
65756635
グローバル
65766636
{|+quickfix| 機能付きでコンパイルされたときのみ有効}
6577-
このオプションはクイックフィックスもしくはロケーションリストで表示する
6578-
テキストを取得するのに利用される関数を指定する。クイックフィックスもし
6579-
くはロケーションリストでの情報を各表示項目に付随する情報をカスタマイズ
6580-
して表示するときに利用できる。関数の書き方と例については
6637+
このオプションは quickfix もしくは location リストで表示するテキストを
6638+
取得するのに利用される関数を指定する。クイックフィックスもしくは
6639+
location リストでの情報を各表示項目に付随する情報をカスタマイズして表
6640+
示するときに利用できる。関数の書き方と例については
65816641
|quickfix-window-function| を参照。値として関数名、|lambda|、|Funcref|
65826642
が使える。詳細は |option-value-function| を参照。
65836643

Diff for: en/options.txt

+73-10
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 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1717,6 +1717,19 @@ A jump table for the options with a short description can be found at |Q_op|.
17171717
This option cannot be set from a |modeline| or in the |sandbox|, for
17181718
security reasons.
17191719

1720+
*'chistory'* *'chi'*
1721+
'chistory' 'chi' number (default: 10)
1722+
global
1723+
{only available when compiled with the |+quickfix|
1724+
feature}
1725+
Number of quickfix lists that should be remembered for the quickfix
1726+
stack. Must be between 1 and 100. If the option is set to a value
1727+
that is lower than the amount of entries in the quickfix list stack,
1728+
entries will be removed starting from the oldest one. If the current
1729+
quickfix list was removed, then the quickfix list at top of the stack
1730+
(the most recently created) will be used in its place. For additional
1731+
info, see |quickfix-stack|.
1732+
17201733
*'cindent'* *'cin'* *'nocindent'* *'nocin'*
17211734
'cindent' 'cin' boolean (default off)
17221735
local to buffer
@@ -2655,7 +2668,7 @@ A jump table for the options with a short description can be found at |Q_op|.
26552668
*E1193* *E1194* *E1195* *E1196* *E1230*
26562669
*E1197* *E1198* *E1199* *E1200* *E1201*
26572670
xchacha20 XChaCha20 Cipher with Poly1305 Message Authentication
2658-
Code. Medium strong till strong encryption.
2671+
Code. Medium strong to strong encryption.
26592672
Encryption is provided by the libsodium library, it
26602673
requires Vim to be built with |+sodium|.
26612674
It adds a seed and a message authentication code (MAC)
@@ -2910,7 +2923,8 @@ A jump table for the options with a short description can be found at |Q_op|.
29102923
security reasons.
29112924

29122925
*'dip'* *'diffopt'*
2913-
'diffopt' 'dip' string (default "internal,filler,closeoff")
2926+
'diffopt' 'dip' string (default
2927+
"internal,filler,closeoff,inline:simple")
29142928
global
29152929
{not available when compiled without the |+diff|
29162930
feature}
@@ -2975,6 +2989,24 @@ A jump table for the options with a short description can be found at |Q_op|.
29752989
Use the indent heuristic for the internal
29762990
diff library.
29772991

2992+
inline:{text} Highlight inline differences within a change.
2993+
See |view-diffs|. Supported values are:
2994+
2995+
none Do not perform inline highlighting.
2996+
simple Highlight from first different
2997+
character to the last one in each
2998+
line. This is the default if no
2999+
`inline:` value is set.
3000+
char Use internal diff to perform a
3001+
character-wise diff and highlight the
3002+
difference.
3003+
word Use internal diff to perform a
3004+
|word|-wise diff and highlight the
3005+
difference. Non-alphanumeric
3006+
multi-byte characters such as emoji
3007+
and CJK characters are considered
3008+
individual words.
3009+
29783010
internal Use the internal diff library. This is
29793011
ignored when 'diffexpr' is set. *E960*
29803012
When running out of memory when writing a
@@ -3571,8 +3603,8 @@ A jump table for the options with a short description can be found at |Q_op|.
35713603
*'fillchars'* *'fcs'*
35723604
'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~,lastline:@")
35733605
global or local to window |global-local|
3574-
Characters to fill the statuslines, vertical separators and special
3575-
lines in the window.
3606+
Characters to fill the statuslines, vertical separators, special
3607+
lines in the window and truncated text in the |ins-completion-menu|.
35763608
It is a comma-separated list of items. Each item has a name, a colon
35773609
and the value of that item: |E1511|
35783610

@@ -3587,6 +3619,8 @@ A jump table for the options with a short description can be found at |Q_op|.
35873619
diff '-' deleted lines of the 'diff' option
35883620
eob '~' empty lines below the end of a buffer
35893621
lastline '@' 'display' contains lastline/truncate
3622+
trunc '>' truncated text in the
3623+
|ins-completion-menu|.
35903624

35913625
Any one that is omitted will fall back to the default.
35923626

@@ -3603,9 +3637,14 @@ A jump table for the options with a short description can be found at |Q_op|.
36033637
stlnc StatusLineNC |hl-StatusLineNC|
36043638
vert VertSplit |hl-VertSplit|
36053639
fold Folded |hl-Folded|
3640+
foldopen FoldColumn |hl-FoldColumn|
3641+
foldclose FoldColumn |hl-FoldColumn|
3642+
foldsep FoldColumn |hl-FoldColumn|
36063643
diff DiffDelete |hl-DiffDelete|
36073644
eob EndOfBuffer |hl-EndOfBuffer|
36083645
lastline NonText |hl-NonText|
3646+
trunc one of the many Popup menu highlighting groups like
3647+
|hl-PmenuSel|
36093648

36103649
*'findfunc'* *'ffu'* *E1514*
36113650
'findfunc' 'ffu' string (default empty)
@@ -4392,10 +4431,10 @@ A jump table for the options with a short description can be found at |Q_op|.
43924431
v:Visual,V:VisualNOS,w:WarningMsg,
43934432
W:WildMenu,f:Folded,F:FoldColumn,
43944433
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,
4434+
T:DiffText,E:DiffTextAdd,>:SignColumn,
4435+
-:Conceal,B:SpellBad,P:SpellCap,
4436+
R:SpellRare, L:SpellLocal,+:Pmenu,
4437+
=:PmenuSel, k:PmenuMatch,<:PmenuMatchSel,
43994438
[:PmenuKind,]:PmenuKindSel,
44004439
{:PmenuExtra,}:PmenuExtraSel,
44014440
x:PmenuSbar,X:PmenuThumb,*:TabLine,
@@ -4447,7 +4486,8 @@ A jump table for the options with a short description can be found at |Q_op|.
44474486
|hl-DiffAdd| A added line in diff mode
44484487
|hl-DiffChange| C changed line in diff mode
44494488
|hl-DiffDelete| D deleted line in diff mode
4450-
|hl-DiffText| T inserted text in diff mode
4489+
|hl-DiffText| T changed text in diff mode
4490+
|hl-DiffTextAdd| E inserted text in diff mode
44514491
|hl-SignColumn| > column used for |signs|
44524492
|hl-Conceal| - the placeholders used for concealed characters
44534493
(see 'conceallevel')
@@ -5296,6 +5336,18 @@ A jump table for the options with a short description can be found at |Q_op|.
52965336
temporarily when performing an operation where redrawing may cause
52975337
flickering or cause a slowdown.
52985338

5339+
*'lhistory'* *'lhi'*
5340+
'lhistory' 'lhi' number (default: 10)
5341+
local to window
5342+
{only available when compiled with the |+quickfix|
5343+
feature}
5344+
Like 'chistory', but for the location list stack associated with a
5345+
window. If the option is changed in either the location list window
5346+
itself or the window that is associated with the location list stack,
5347+
the new value will also be applied to the other one. This means this
5348+
value will always be the same for a given location list window and its
5349+
corresponding window. See |quickfix-stack| for additional info.
5350+
52995351
*'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*
53005352
'linebreak' 'lbr' boolean (default off)
53015353
local to window
@@ -6459,6 +6511,17 @@ A jump table for the options with a short description can be found at |Q_op|.
64596511
global
64606512
Determines the maximum number of items to show in the popup menu for
64616513
Insert mode completion. When zero as much space as available is used.
6514+
|ins-completion-menu|.
6515+
6516+
*'pummaxwidth'* *'pmw'*
6517+
'pummaxwidth' 'pmw' number (default 0)
6518+
global
6519+
Determines the maximum width to use for the popup menu for completion.
6520+
When zero, there is no maximum width limit, otherwise the popup menu
6521+
will never be wider than this value. Truncated text will be indicated
6522+
by "trunc" value of 'fillchars' option.
6523+
6524+
This option takes precedence over 'pumwidth'.
64626525
|ins-completion-menu|.
64636526

64646527
*'pumwidth'* *'pw'*

0 commit comments

Comments
 (0)