Skip to content

Commit 584169e

Browse files
authored
Merge pull request #2571 from h-east/update-options
Update options.{txt,jax}
2 parents 28b7af4 + 0d320f4 commit 584169e

2 files changed

Lines changed: 117 additions & 4 deletions

File tree

doc/options.jax

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.2. Last change: 2026 Apr 06
1+
*options.txt* For Vim バージョン 9.2. Last change: 2026 Apr 09
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -6924,6 +6924,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
69246924
グローバル
69256925
補完時のポップアップメニューのボーダーとオプションの装飾を定義する。値
69266926
はコンマ区切りのキーワードリストである。
6927+
統合された代わりの手段については、'pumopt' を参照。
69276928

69286929
ボーダーのスタイル (最大 1 つ):
69296930
"single" 細い罫線文字を使用する
@@ -6956,8 +6957,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
69566957
'pumheight' 'ph' 数値 (既定では 0)
69576958
グローバル
69586959
挿入モード補完のポップアップメニューに表示される項目数の最大値。
6959-
0 のときはスペースの許す限り多く表示される。
6960-
|ins-completion-menu|
6960+
0 のときはスペースの許す限り多く表示される。|ins-completion-menu|
6961+
統合された代わりの手段については、'pumopt' を参照。
69616962

69626963
*'pummaxwidth'* *'pmw'*
69636964
'pummaxwidth' 'pmw' 数値 (既定では 0)
@@ -6969,12 +6970,67 @@ Note 1番目の形式では、行全体がオプション指定に使われる
69696970

69706971
このオプションは 'pumwidth' よりも優先される。
69716972
|ins-completion-menu|。
6973+
統合された代わりの手段については、'pumopt' を参照。
6974+
6975+
*'pumopt'*
6976+
'pumopt' 文字列 (既定では "")
6977+
グローバル
6978+
挿入モードの補完時に表示されるポップアップメニューを設定する。
6979+
値は、キーと値のペアおよびフラグをコンマで区切ったリストです。
6980+
値は、コンマ区切りの "key:value" ペアおよびフラグのリストである。
6981+
6982+
キーと値:
6983+
border:{style} ボーダースタイルを設定する (最大 1 つ)
6984+
"single" 細い罫線文字
6985+
"double" 2 重の罫線文字
6986+
"round" 丸い角
6987+
"ascii" ASCII 文字 (-, |, +)
6988+
"custom:X;X;X;X;X;X;X;X"
6989+
セミコロンで区切られた以下の順序の 8
6990+
文字:
6991+
上、右、下、左、左上、右上、右下、左下
6992+
height:{n} 表示する項目の最大数 (デフォルトは 0 で、スペー
6993+
スの許す限り多く表示する)
6994+
width:{n} 最小幅 (デフォルト 15)
6995+
maxwidth:{n} 最大幅 (デフォルトは 0 で制限なし)。
6996+
これは width よりも優先される。テキストの切り
6997+
詰めは、'fillchars' オプションの "trunc" 値で
6998+
示される。
6999+
opacity:{n} 不透明度のパーセント 0-100 (デフォルト 100)。
7000+
100 未満の場合、ポップアップメニュー越しに背後
7001+
のコンテンツが透けて見える。
7002+
7003+
フラグ (値なし):
7004+
margin 左右のボーダーの内側に 1 セル分のスペースを追
7005+
加する。ボーダースタイルが必要。
7006+
shadow 右端と下端に影を描く。
7007+
7008+
罫線文字 ("single", "double", "round") を使用したボーダースタイルは、
7009+
'encoding' が "utf-8" かつ 'ambiwidth' が "single" の場合にのみ使用で
7010+
きる。
7011+
7012+
ハイライトグループ:
7013+
|hl-PmenuBorder| ボーダー文字に使用される
7014+
|hl-PmenuShadow| 影に使用される
7015+
7016+
Note: 'pumopt' が設定されている場合、まずすべての値がデフォルト値にリ
7017+
セットされ、その後指定されたキーが適用される。指定されていないキーには
7018+
デフォルト値が適用される。
7019+
7020+
例: >
7021+
:set pumopt=border:single
7022+
:set pumopt=border:double,margin,shadow
7023+
:set pumopt=height:10,width:20,opacity:80
7024+
:set pumopt=border:custom:─;│;─;│;┌;┐;┘;└,shadow
7025+
<
7026+
以下も参照: |ins-completion-menu|。
69727027

69737028
*'pumwidth'* *'pw'*
69747029
'pumwidth' 'pw' 数値 (既定では 15)
69757030
グローバル
69767031
挿入モード補完のポップアップメニューに使用する幅の最小値。
69777032
|ins-completion-menu|.
7033+
統合された代わりの手段については、'pumopt' を参照。
69787034

69797035
*'pythondll'*
69807036
'pythondll' 文字列 (既定値はビルドに依存)

en/options.txt

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.2. Last change: 2026 Apr 06
1+
*options.txt* For Vim version 9.2. Last change: 2026 Apr 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6886,6 +6886,7 @@ A jump table for the options with a short description can be found at |Q_op|.
68866886
global
68876887
Defines a border and optional decorations for the popup menu in
68886888
completion. The value is a comma-separated list of keywords.
6889+
See 'pumopt' for a consolidated alternative.
68896890

68906891
Border styles (at most one):
68916892
"single" use thin box-drawing characters
@@ -6921,6 +6922,7 @@ A jump table for the options with a short description can be found at |Q_op|.
69216922
Determines the maximum number of items to show in the popup menu for
69226923
Insert mode completion. When zero as much space as available is used.
69236924
|ins-completion-menu|.
6925+
See 'pumopt' for a consolidated alternative.
69246926

69256927
*'pummaxwidth'* *'pmw'*
69266928
'pummaxwidth' 'pmw' number (default 0)
@@ -6932,12 +6934,67 @@ A jump table for the options with a short description can be found at |Q_op|.
69326934

69336935
This option takes precedence over 'pumwidth'.
69346936
|ins-completion-menu|.
6937+
See 'pumopt' for a consolidated alternative.
6938+
6939+
*'pumopt'*
6940+
'pumopt' string (default "")
6941+
global
6942+
Configures the popup menu used for Insert mode completion.
6943+
The value is a comma-separated list of "key:value" pairs and flags.
6944+
6945+
Keys with values:
6946+
border:{style} set a border style (at most one):
6947+
"single" thin box-drawing characters
6948+
"double" double-line box-drawing characters
6949+
"round" rounded corners
6950+
"ascii" ASCII characters (-, |, +)
6951+
"custom:X;X;X;X;X;X;X;X"
6952+
eight characters separated by
6953+
semicolons, in the order: top, right,
6954+
bottom, left, topleft, topright,
6955+
botright, botleft
6956+
height:{n} maximum number of items to show (default 0,
6957+
meaning as much space as available)
6958+
width:{n} minimum width (default 15)
6959+
maxwidth:{n} maximum width (default 0, meaning no limit).
6960+
This takes precedence over width.
6961+
Truncated text is indicated by "trunc" value
6962+
of 'fillchars' option.
6963+
opacity:{n} opacity percentage 0-100 (default 100).
6964+
When less than 100, background content shows
6965+
through the popup menu.
6966+
6967+
Flags (no value):
6968+
margin adds one-cell spacing inside the left and
6969+
right border. Requires a border style.
6970+
shadow draws a shadow at the right and bottom edges.
6971+
6972+
Border styles using box-drawing characters ("single", "double",
6973+
"round") are only available when 'encoding' is "utf-8" and 'ambiwidth'
6974+
is "single".
6975+
6976+
Highlight groups:
6977+
|hl-PmenuBorder| used for the border characters
6978+
|hl-PmenuShadow| used for the shadow
6979+
6980+
Note: When 'pumopt' is set, all values are reset to their defaults
6981+
first, then the specified keys are applied. Unspecified keys get
6982+
their default values.
6983+
6984+
Examples: >
6985+
:set pumopt=border:single
6986+
:set pumopt=border:double,margin,shadow
6987+
:set pumopt=height:10,width:20,opacity:80
6988+
:set pumopt=border:custom:─;│;─;│;┌;┐;┘;└,shadow
6989+
<
6990+
See also: |ins-completion-menu|.
69356991

69366992
*'pumwidth'* *'pw'*
69376993
'pumwidth' 'pw' number (default 15)
69386994
global
69396995
Determines the minimum width to use for the popup menu for Insert mode
69406996
completion. |ins-completion-menu|.
6997+
See 'pumopt' for a consolidated alternative.
69416998

69426999
*'pythondll'*
69437000
'pythondll' string (default depends on the build)

0 commit comments

Comments
 (0)