Skip to content

Commit b44d0f2

Browse files
authored
Merge pull request #1722 from vim-jp/hh-update-options
Update options.{txt,jax}
2 parents 2325a4f + d7b9317 commit b44d0f2

File tree

2 files changed

+42
-20
lines changed

2 files changed

+42
-20
lines changed

doc/options.jax

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2024 Sep 26
1+
*options.txt* For Vim バージョン 9.1. Last change: 2024 Oct 02
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1694,12 +1694,13 @@ Note 1番目の形式では、行全体がオプション指定に使われる
16941694
'cedit' 文字列 (Viの既定値: "", Vimの既定値: CTRL-F)
16951695
グローバル
16961696
コマンドラインモードで、コマンドラインウィンドウを開くために使われる
1697-
キー。オプション 'compatible' がオフならば、既定では CTRL-F である。
1698-
non-printable なキー {訳注: 文書先頭を参照} しか指定できない。キーは単
1699-
一の文字として設定することもできるが、それでは入力しにくい。<> を使っ
1700-
た表記を推奨する。例: >
1701-
:exe "set cedit=\<C-Y>"
1702-
:exe "set cedit=\<Esc>"
1697+
キー。'compatible' がオフの場合、デフォルトは CTRL-F である。
1698+
表示不可文字なキーのみが許可される。
1699+
キーは単一文字で指定できるが、入力が困難である。推奨される方法は、
1700+
|key-notation| (例: <Up>、<C-F>) またはキャレット付きの文字 (例: `^F`
1701+
は CTRL-F) を使用することだ。例: >
1702+
:set cedit=^Y
1703+
:set cedit=<Esc>
17031704
< |Nvi| にもこのオプションがあるが、最初の1文字だけが使用される。
17041705
|cmdwin| を参照。
17051706
NOTE: このオプションは 'compatible' がオフになるとVimの既定値に設定さ
@@ -2143,6 +2144,16 @@ Note 1番目の形式では、行全体がオプション指定に使われる
21432144
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
21442145
内で設定することはできない。
21452146

2147+
*'completeitemalign'* *'cia'*
2148+
'completeitemalign' 'cia' 文字列 (既定では "abbr,kind,menu")
2149+
グローバル
2150+
コンマで区切られた |complete-items| のリストで、挿入モード補完中にポッ
2151+
プアップメニューの項目の配置と表示順序を制御する。サポートされている値
2152+
は、abbr、kind、および menu である。これらのオプションを使用すると、補
2153+
完項目がポップアップメニューに表示される方法をカスタマイズできる。
2154+
Note: どのような順序であっても、常にこれら 3 つの値を含んでいなければ
2155+
ならない。
2156+
21462157
*'completeopt'* *'cot'*
21472158
'completeopt' 'cot' 文字列 (既定では "menu,preview")
21482159
グローバル/バッファについてローカル |global-local|
@@ -3514,15 +3525,15 @@ Note 1番目の形式では、行全体がオプション指定に使われる
35143525
中でこうする。
35153526
/* vim: set filetype=idl : */ ~
35163527
|FileType| |filetypes|
3517-
値の中にドットが現れると、それが2つのファイルタイプ名の区切りとなる。
3518-
例:
3528+
値にドットが含まれる場合、これは 2 つのファイルタイプ名を区切るため、
3529+
ファイルタイプには使用しないこと。例:
35193530
/* vim: set filetype=c.doxygen : */ ~
35203531
こうすると最初にファイルタイプ "c" を使い、次にファイルタイプ "doxygen"
35213532
を使う。これはファイルタイププラグインと構文ファイル両方に適用される。
35223533
2個以上のドットが現れてもよい。
35233534
このオプションは 'cpoptions' のフラグ 's' や 'S' にかかわらず、別のバッ
35243535
ファにはコピーされない。
3525-
通常のファイル名文字だけが使える。"/\*?[|<>" は不正である
3536+
英数字、'-'、'_' のみ使用できる
35263537

35273538
*'fillchars'* *'fcs'*
35283539
'fillchars' 'fcs' 文字列 (既定では "vert:|,fold:-,eob:~")
@@ -5036,7 +5047,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
50365047
このオプションを適正なキーマップ名に設定すると、キーマッピングが有効に
50375048
なるようにオプション 'iminsert' が 1 になるという影響がある。また
50385049
'imsearch' も、元が -1 でない限り 1 になる。
5039-
通常のファイル名文字だけが使用できる。"/\*?[|<>" は不正である
5050+
英数字、'.'、'-'、'_' のみ使用できる
50405051

50415052
*'keymodel'* *'km'*
50425053
'keymodel' 'km' 文字列 (既定では "")
@@ -8141,7 +8152,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
81418152
このオプションの値を引数にして発生するということだ。
81428153
'cpoptions' のフラグ 's' や 'S' にかかわらず、このオプションの値は別の
81438154
バッファにはコピーされない。
8144-
通常のファイル名文字だけが使える。"/\*?[|<>" は不正である
8155+
英数字、'.'、'-'、'_' のみ使用できる
81458156

81468157
*'tabclose'* *'tcl'*
81478158
'tabclose' 'tcl' 文字列 (既定では "")

en/options.txt

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Sep 26
1+
*options.txt* For Vim version 9.1. Last change: 2024 Oct 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1651,9 +1651,10 @@ A jump table for the options with a short description can be found at |Q_op|.
16511651
The default is CTRL-F when 'compatible' is off.
16521652
Only non-printable keys are allowed.
16531653
The key can be specified as a single character, but it is difficult to
1654-
type. The preferred way is to use the <> notation. Examples: >
1655-
:exe "set cedit=\<C-Y>"
1656-
:exe "set cedit=\<Esc>"
1654+
type. The preferred way is to use |key-notation| (e.g. <Up>, <C-F>) or
1655+
a letter preceded with a caret (e.g. `^F` is CTRL-F). Examples: >
1656+
:set cedit=^Y
1657+
:set cedit=<Esc>
16571658
< |Nvi| also has this option, but it only uses the first character.
16581659
See |cmdwin|.
16591660
NOTE: This option is set to the Vim default value when 'compatible'
@@ -2101,6 +2102,16 @@ A jump table for the options with a short description can be found at |Q_op|.
21012102
This option cannot be set from a |modeline| or in the |sandbox|, for
21022103
security reasons.
21032104

2105+
*'completeitemalign'* *'cia'*
2106+
'completeitemalign' 'cia' string (default: "abbr,kind,menu")
2107+
global
2108+
A comma-separated list of |complete-items| that controls the alignment
2109+
and display order of items in the popup menu during Insert mode
2110+
completion. The supported values are abbr, kind, and menu. These
2111+
options allow to customize how the completion items are shown in the
2112+
popup menu. Note: must always contain those three values in any
2113+
order.
2114+
21042115
*'completeopt'* *'cot'*
21052116
'completeopt' 'cot' string (default: "menu,preview")
21062117
global or local to buffer |global-local|
@@ -3492,14 +3503,14 @@ A jump table for the options with a short description can be found at |Q_op|.
34923503
/* vim: set filetype=idl : */ ~
34933504
|FileType| |filetypes|
34943505
When a dot appears in the value then this separates two filetype
3495-
names. Example:
3506+
names, it should therefore not be used for a filetype. Example:
34963507
/* vim: set filetype=c.doxygen : */ ~
34973508
This will use the "c" filetype first, then the "doxygen" filetype.
34983509
This works both for filetype plugins and for syntax files. More than
34993510
one dot may appear.
35003511
This option is not copied to another buffer, independent of the 's' or
35013512
'S' flag in 'cpoptions'.
3502-
Only normal file name characters can be used, "/\*?[|<>" are illegal.
3513+
Only alphanumeric characters, '-' and '_' can be used.
35033514

35043515
*'fillchars'* *'fcs'*
35053516
'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~")
@@ -4981,7 +4992,7 @@ A jump table for the options with a short description can be found at |Q_op|.
49814992
Setting this option to a valid keymap name has the side effect of
49824993
setting 'iminsert' to one, so that the keymap becomes effective.
49834994
'imsearch' is also set to one, unless it was -1
4984-
Only normal file name characters can be used, "/\*?[|<>" are illegal.
4995+
Only alphanumeric characters, '.', '-' and '_' can be used.
49854996

49864997
*'keymodel'* *'km'*
49874998
'keymodel' 'km' string (default "")
@@ -8101,7 +8112,7 @@ A jump table for the options with a short description can be found at |Q_op|.
81018112
Syntax autocommand event is triggered with the value as argument.
81028113
This option is not copied to another buffer, independent of the 's' or
81038114
'S' flag in 'cpoptions'.
8104-
Only normal file name characters can be used, "/\*?[|<>" are illegal.
8115+
Only alphanumeric characters, '.', '-' and '_' can be used.
81058116

81068117
*'tabclose'* *'tcl'*
81078118
'tabclose' 'tcl' string (default "")

0 commit comments

Comments
 (0)