-
Notifications
You must be signed in to change notification settings - Fork 63
Update options.{txt,jax} #2571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
h-east
wants to merge
2
commits into
vim-jp:master
Choose a base branch
from
h-east:update-options
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+116
−4
Open
Update options.{txt,jax} #2571
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| *options.txt* For Vim バージョン 9.2. Last change: 2026 Apr 06 | ||
| *options.txt* For Vim バージョン 9.2. Last change: 2026 Apr 07 | ||
|
|
||
|
|
||
| VIM リファレンスマニュアル by Bram Moolenaar | ||
|
|
@@ -6924,6 +6924,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる | |
| グローバル | ||
| 補完時のポップアップメニューのボーダーとオプションの装飾を定義する。値 | ||
| はコンマ区切りのキーワードリストである。 | ||
| 統合された代替案については、'pumopt' を参照。 | ||
|
|
||
| ボーダーのスタイル (最大 1 つ): | ||
| "single" 細い罫線文字を使用する | ||
|
|
@@ -6956,8 +6957,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる | |
| 'pumheight' 'ph' 数値 (既定では 0) | ||
| グローバル | ||
| 挿入モード補完のポップアップメニューに表示される項目数の最大値。 | ||
| 0 のときはスペースの許す限り多く表示される。 | ||
| |ins-completion-menu| | ||
| 0 のときはスペースの許す限り多く表示される。|ins-completion-menu| | ||
| 統合された代替案については、'pumopt' を参照。 | ||
|
|
||
| *'pummaxwidth'* *'pmw'* | ||
| 'pummaxwidth' 'pmw' 数値 (既定では 0) | ||
|
|
@@ -6969,12 +6970,66 @@ Note 1番目の形式では、行全体がオプション指定に使われる | |
|
|
||
| このオプションは 'pumwidth' よりも優先される。 | ||
| |ins-completion-menu|。 | ||
| 統合された代替案については、'pumopt' を参照。 | ||
|
|
||
| *'pumopt'* | ||
| 'pumopt' 文字列 (既定では "") | ||
| グローバル | ||
| 挿入モードの補完時に表示されるポップアップメニューを設定する。 | ||
| 値は、キーと値のペアおよびフラグをコンマで区切ったリストです。 | ||
| 値は、コンマ区切りの "key:value" ペアおよびフラグのリストである。 | ||
|
|
||
| キーと値: | ||
| border:{style} ボーダースタイルを設定する (最大 1 つ) | ||
| "single" 細い罫線文字 | ||
| "double" 2 重の罫線文字 | ||
| "round" 丸い角 | ||
| "ascii" ASCII 文字 (-, |, +) | ||
| "custom:X;X;X;X;X;X;X;X" | ||
| セミコロンで区切られた8文字の次の順序: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 「8文字の次の順序」の部分がちょっと不自然に思えました。 |
||
| 上、右、下、左、左上、右上、右下、左下 | ||
| height:{n} 表示する項目の最大数 (デフォルトは 0 で、スペー | ||
| スの許す限り多く表示する) | ||
| width:{n} 最小幅 (デフォルト 15) | ||
| maxwidth:{n} 最大幅 (デフォルトは 0 で制限なし)。 | ||
| これは width よりも優先される。テキストの切り | ||
| 詰めは、'fillchars' オプションの "trunc" 値で | ||
| 示される。 | ||
| opacity:{n} 不透明度のパーセント 0-100 (デフォルト 100)。 | ||
| 100 未満の場合、ポップアップメニュー越しに背後 | ||
| のコンテンツが透けて見える。 | ||
|
|
||
| フラグ (値なし): | ||
| margin 左右のボーダーの内側に 1 セル分のスペースを追 | ||
| 加する。ボーダースタイルが必要。 | ||
| shadow 右端と下端に影を描く。 | ||
|
|
||
| 罫線文字 ("single", "double", "round") を使用したボーダースタイルは、 | ||
| 'encoding' が "utf-8" かつ 'ambiwidth' が "single" の場合にのみ使用で | ||
| きる。 | ||
|
|
||
| ハイライトグループ: | ||
| |hl-PmenuBorder| ボーダー文字に使用される | ||
| |hl-PmenuShadow| 影に使用される | ||
|
|
||
| Note: 'pumopt' が設定されている場合、まずすべての値がデフォルト値にリ | ||
| セットされ、その後指定されたキーが適用される。指定されていないキーには | ||
| デフォルト値が適用される。 | ||
|
|
||
| 例: > | ||
| :set pumopt=border:single | ||
| :set pumopt=border:double,margin,shadow | ||
| :set pumopt=height:10,width:20,opacity:80 | ||
| :set pumopt=border:custom:─;│;─;│;┌;┐;┘;└,shadow | ||
| < | ||
| 以下も参照: |ins-completion-menu|。 | ||
|
|
||
| *'pumwidth'* *'pw'* | ||
| 'pumwidth' 'pw' 数値 (既定では 15) | ||
| グローバル | ||
| 挿入モード補完のポップアップメニューに使用する幅の最小値。 | ||
| |ins-completion-menu|. | ||
| 統合された代替案については、'pumopt' を参照。 | ||
|
|
||
| *'pythondll'* | ||
| 'pythondll' 文字列 (既定値はビルドに依存) | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| *options.txt* For Vim version 9.2. Last change: 2026 Apr 06 | ||
| *options.txt* For Vim version 9.2. Last change: 2026 Apr 07 | ||
|
|
||
|
|
||
| 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|. | |
| global | ||
| Defines a border and optional decorations for the popup menu in | ||
| completion. The value is a comma-separated list of keywords. | ||
| See |'pumopt'| for a consolidated alternative. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 一応メモ:この辺りの |
||
|
|
||
| Border styles (at most one): | ||
| "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|. | |
| Determines the maximum number of items to show in the popup menu for | ||
| Insert mode completion. When zero as much space as available is used. | ||
| |ins-completion-menu|. | ||
| See |'pumopt'| for a consolidated alternative. | ||
|
|
||
| *'pummaxwidth'* *'pmw'* | ||
| '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|. | |
|
|
||
| This option takes precedence over 'pumwidth'. | ||
| |ins-completion-menu|. | ||
| See |'pumopt'| for a consolidated alternative. | ||
|
|
||
| *'pumopt'* | ||
| 'pumopt' string (default "") | ||
| global | ||
| Configures the popup menu used for Insert mode completion. | ||
| The value is a comma-separated list of key:value pairs and flags. | ||
|
|
||
| Keys with values: | ||
| border:{style} set a border style (at most one): | ||
| "single" thin box-drawing characters | ||
| "double" double-line box-drawing characters | ||
| "round" rounded corners | ||
| "ascii" ASCII characters (-, |, +) | ||
| "custom:X;X;X;X;X;X;X;X" | ||
| eight characters separated by | ||
| semicolons, in the order: top, right, | ||
| bottom, left, topleft, topright, | ||
| botright, botleft | ||
| height:{n} maximum number of items to show (default 0, | ||
| meaning as much space as available) | ||
| width:{n} minimum width (default 15) | ||
| maxwidth:{n} maximum width (default 0, meaning no limit). | ||
| This takes precedence over width. | ||
| Truncated text is indicated by "trunc" value | ||
| of 'fillchars' option. | ||
| opacity:{n} opacity percentage 0-100 (default 100). | ||
| When less than 100, background content shows | ||
| through the popup menu. | ||
|
|
||
| Flags (no value): | ||
| margin adds one-cell spacing inside the left and | ||
| right border. Requires a border style. | ||
| shadow draws a shadow at the right and bottom edges. | ||
|
|
||
| Border styles using box-drawing characters ("single", "double", | ||
| "round") are only available when 'encoding' is "utf-8" and | ||
| 'ambiwidth' is "single". | ||
|
|
||
| Highlight groups: | ||
| |hl-PmenuBorder| used for the border characters | ||
| |hl-PmenuShadow| used for the shadow | ||
|
|
||
| Note: When 'pumopt' is set, all values are reset to their defaults | ||
| first, then the specified keys are applied. Unspecified keys get | ||
| their default values. | ||
|
|
||
| Examples: > | ||
| :set pumopt=border:single | ||
| :set pumopt=border:double,margin,shadow | ||
| :set pumopt=height:10,width:20,opacity:80 | ||
| :set pumopt=border:custom:─;│;─;│;┌;┐;┘;└,shadow | ||
| < | ||
| See also: |ins-completion-menu|. | ||
|
|
||
| *'pumwidth'* *'pw'* | ||
| 'pumwidth' 'pw' number (default 15) | ||
| global | ||
| Determines the minimum width to use for the popup menu for Insert mode | ||
| completion. |ins-completion-menu|. | ||
| See |'pumopt'| for a consolidated alternative. | ||
|
|
||
| *'pythondll'* | ||
| 'pythondll' string (default depends on the build) | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
致命的な間違いみたいな話ではないのですが、代わりのオプションを指して「代替案」と言われるとなんだか引っかかるように思えます。単に「代替」とするか、あるいは「代替オプション」とするなどはどうでしょうかね?
他3箇所も同様です。