Skip to content

Commit 54bc2c6

Browse files
authored
Merge pull request #2212 from h-east/update-options
Update options.{txt,jax}
2 parents 02dbb21 + 0a622b5 commit 54bc2c6

File tree

2 files changed

+46
-47
lines changed

2 files changed

+46
-47
lines changed

doc/options.jax

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Jul 25
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1062,7 +1062,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
10621062
< Vimはその値を推測する。GUI版ならばうまくいくはずだが、そうでなければ正
10631063
しい値を推測できないかもしれない。
10641064
GUIがダークテーマをサポートしている場合、'guioptions' で "d" フラグを
1065-
使用できる。'go-d' を参照。
1065+
使用できる。|'go-d'| を参照。
10661066

10671067
|t_RB| オプションが設定されると、Vim はターミナルから背景色をリクエス
10681068
トするために使われる。もしも返された RGB の値が dark/light であり、
@@ -2273,8 +2273,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
22732273
つけることができる。Note: このオプションは候補リストの収集
22742274
には影響しない。補完候補が代替リストからどのように削減され
22752275
るかを制御するだけである。|fuzzy-matching| を使用して候補
2276-
リストの代替をさらに収集する場合は、
2277-
|'completefuzzycollect'| を参照。
2276+
リストの代替をさらに収集する場合は、'completefuzzycollect'
2277+
を参照。
22782278

22792279
longest 候補の文字列の最長の共通部分だけを挿入する。メニューが表示
22802280
されているならばCTRL-Lでさらに文字を挿入することができる。
@@ -2311,7 +2311,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
23112311
popup 現在選択されている補完に関する追加情報をポップアップウィン
23122312
ドウに表示する。"menu" または "menuone" との組み合わせでの
23132313
み機能する。"preview" を無視する。
2314-
指定するプロパティについては |'completepopup'| を参照。
2314+
指定するプロパティについては 'completepopup' を参照。
23152315
{|+textprop| 機能付きでコンパイルされたときのみ有効}
23162316

23172317
popuphidden
@@ -2429,7 +2429,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
24292429
'copyindent' 'ci' 切替 (既定ではオフ)
24302430
バッファについてローカル
24312431
新規行を自動インデントするとき、既存の行のインデント構造をコピーする。
2432-
普通、新しい行のインデントは |'expandtab'| が有効になっていないかぎり
2432+
普通、新しい行のインデントは 'expandtab' が有効になっていないかぎり
24332433
(この場合は全てスペースになる)、まずタブが使われ、足りない部分がスペー
24342434
スで埋められる。このオプションを有効にすると、既存の行のインデントにど
24352435
んな文字が使われていようとそれを新規行にコピーする。'expandtab' はこれ
@@ -5655,9 +5655,9 @@ Note 1番目の形式では、行全体がオプション指定に使われる
56555655
*'lispoptions'* *'lop'*
56565656
'lispoptions' 'lop' 文字列 (既定では "")
56575657
バッファについてローカル
5658-
|'lisp'| オプションとともに有効化された場合、Lisp のインデントに影響を
5659-
与える項目のコンマ区切りのリスト。現在サポートされている項目は 1 つだ
5660-
けである
5658+
'lisp' オプションとともに有効化された場合、Lisp のインデントに影響を与
5659+
える項目のコンマ区切りのリスト。現在サポートされている項目は 1 つだけ
5660+
である
56615661
expr:1 設定されている場合、Lisp のインデントに 'indentexpr' を
56625662
使用する
56635663
expr:0 Lisp のインデントに 'indentexpr' を使用しない (デフォ
@@ -5668,8 +5668,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
56685668
*'lispwords'* *'lw'*
56695669
'lispwords' 'lw' 文字列 (既定値はとても長い)
56705670
グローバル/バッファについてローカル |global-local|
5671-
|'lisp'| オプションとともに有効化された場合、Lisp用のインデント方法を
5672-
設定するキーワードの、コンマ区切りのリスト。
5671+
'lisp' オプションとともに有効化された場合、Lisp用のインデント方法を設
5672+
定するキーワードの、コンマ区切りのリスト。
56735673

56745674
*'list'* *'nolist'*
56755675
'list' 切替 (既定ではオフ)
@@ -6151,7 +6151,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
61516151
マウスを有効にしていなくても、GUI版ではモードレスセレクションにマウス
61526152
を使うことができる。しかしこのときにはカーソルは動かない。
61536153

6154-
|mouse-using| を参照。またオプション 'clipboard' も参照。
6154+
|mouse-using| を参照。またオプション 'clipboard' も参照。
61556155

61566156
Note: ターミナルでマウスを有効にすると、Xサーバーにアクセスできるなら
61576157
ばコピー/貼り付けではレジスタ "* を使うことに注意。マウスボタンの
@@ -6640,7 +6640,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
66406640
バッファについてローカル
66416641
カレント行のインデントを変更するとき、可能な限りインデントの構造を保つ
66426642
ようにする。普通、インデントはまずタブで埋められ、その後に必要なだけス
6643-
ペースで埋められる(|'expandtab'|がオンになっているときは違い、スペース
6643+
ペースで埋められる('expandtab' がオンになっているときは違い、スペース
66446644
だけで埋められる)。このオプションをオンにすると、インデントの既存の文
66456645
字をできるだけそのままにし、追加の際に必要なだけタブやスペースを追加す
66466646
るようになる。
@@ -7682,7 +7682,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
76827682
*'shiftwidth'* *'sw'*
76837683
'shiftwidth' 'sw' 数値 (既定では 8)
76847684
バッファについてローカル
7685-
1 レベルの (自動) インデントを構成する桁数。|'cindent'|、|<<|、|>>| な
7685+
1 レベルの (自動) インデントを構成する桁数。'cindent'、|<<|、|>>| な
76867686
どで使用される。
76877687
0 に設定すると、Vim は現在の 'tabstop' 値を使用する。スクリプト内で有
76887688
効な値を取得するには、|shiftwidth()| を使用する。
@@ -8027,7 +8027,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
80278027
る。詳細な説明については、|ins-expandtab| およびユーザーマニュアルのセ
80288028
クション |30.5| も参照。
80298029

8030-
Vim が |+vartabs| 機能付きでコンパイルされている場合、|'varsofttabstop'|
8030+
Vim が |+vartabs| 機能付きでコンパイルされている場合、'varsofttabstop'
80318031
が空文字列以外の何かに設定されていると 'softtabstop' の値は無視される。
80328032

80338033
*'spell'* *'nospell'*
@@ -9387,7 +9387,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
93879387
{|+persistent_undo| 機能付きでコンパイルされたときのみ
93889388
有効}
93899389
アンドゥファイル用のディレクトリをコンマ区切りのリストで指定する。
9390-
書式についての詳細は |'backupdir'| を参照。
9390+
書式についての詳細は 'backupdir' を参照。
93919391
"." はファイルのディレクトリを意味する。アンドゥファイルの名前は例えば
93929392
"file.txt" なら ".file.txt.un~" になる。
93939393
別ディレクトリに保存される場合は、アンドゥファイルの名前は対象のファイ
@@ -9836,7 +9836,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
98369836
< 'wildchar' は、|/|、|?|、|:s|、|:g|、|:v|、|:vim| などの検索パターンコ
98379837
ンテキストでも補完を有効にする。補完をトリガーする代わりに、文字の
98389838
<Tab> を挿入するには、<C-V><Tab> または "\t" と入力する。
9839-
|'wildoptions'| および |wildtrigger()| も参照。
9839+
'wildoptions' および |wildtrigger()| も参照。
98409840
NOTE: このオプションは 'compatible' がオンになると Vi の既定値に設定さ
98419841
れ、'compatible' がオフになると Vim の既定値に設定されるので注意。
98429842

en/options.txt

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Jul 25
1+
*options.txt* For Vim version 9.1. Last change: 2025 Aug 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1035,7 +1035,7 @@ A jump table for the options with a short description can be found at |Q_op|.
10351035
< Vim will guess the value. In the GUI this should work correctly,
10361036
in other cases Vim might not be able to guess the right value.
10371037
If the GUI supports a dark theme, you can use the "d" flag in
1038-
'guioptions', see 'go-d'.
1038+
'guioptions', see |'go-d'|.
10391039

10401040
When the |t_RB| option is set, Vim will use it to request the background
10411041
color from the terminal. If the returned RGB value is dark/light and
@@ -1589,7 +1589,7 @@ A jump table for the options with a short description can be found at |Q_op|.
15891589
"nofile" and "nowrite" buffers are similar:
15901590
both: The buffer is not to be written to disk, ":w" doesn't
15911591
work (":w filename" does work though).
1592-
both: The buffer is never considered to be |'modified'|.
1592+
both: The buffer is never considered to be 'modified'.
15931593
There is no warning when the changes will be lost, for
15941594
example when you quit Vim.
15951595
both: A swap file is only created when using too much memory
@@ -1642,7 +1642,7 @@ A jump table for the options with a short description can be found at |Q_op|.
16421642
searched for has a relative path, not an absolute part starting with
16431643
"/", "./" or "../", the 'cdpath' option is not used then.
16441644
The 'cdpath' option's value has the same form and semantics as
1645-
|'path'|. Also see |file-searching|.
1645+
'path'. Also see |file-searching|.
16461646
The default value is taken from $CDPATH, with a "," prepended to look
16471647
in the current directory first.
16481648
If the default value taken from $CDPATH is not what you want, include
@@ -2228,7 +2228,7 @@ A jump table for the options with a short description can be found at |Q_op|.
22282228
controls how completion candidates are reduced from the
22292229
list of alternatives. If you want to use |fuzzy-matching|
22302230
to gather more alternatives for your candidate list,
2231-
see |'completefuzzycollect'|.
2231+
see 'completefuzzycollect'.
22322232

22332233
longest Only insert the longest common text of the matches. If
22342234
the menu is displayed you can use CTRL-L to add more
@@ -2265,7 +2265,7 @@ A jump table for the options with a short description can be found at |Q_op|.
22652265
popup Show extra information about the currently selected
22662266
completion in a popup window. Only works in combination
22672267
with "menu" or "menuone". Overrides "preview".
2268-
See |'completepopup'| for specifying properties.
2268+
See 'completepopup' for specifying properties.
22692269
{only works when compiled with the |+textprop| feature}
22702270

22712271
popuphidden
@@ -2386,7 +2386,7 @@ A jump table for the options with a short description can be found at |Q_op|.
23862386
local to buffer
23872387
Copy the structure of the existing lines indent when autoindenting a
23882388
new line. Normally the new indent is reconstructed by a series of
2389-
tabs followed by spaces as required (unless |'expandtab'| is enabled,
2389+
tabs followed by spaces as required (unless 'expandtab' is enabled,
23902390
in which case only spaces are used). Enabling this option makes the
23912391
new line copy whatever characters were used for indenting on the
23922392
existing line. 'expandtab' has no effect on these characters, a Tab
@@ -2537,7 +2537,7 @@ A jump table for the options with a short description can be found at |Q_op|.
25372537
*cpo-m*
25382538
m When included, a showmatch will always wait half a
25392539
second. When not included, a showmatch will wait half
2540-
a second or until a character is typed. |'showmatch'|
2540+
a second or until a character is typed. 'showmatch'
25412541
*cpo-M*
25422542
M When excluded, "%" matching will take backslashes into
25432543
account. Thus in "( \( )" and "\( ( \)" the outer
@@ -5609,8 +5609,7 @@ A jump table for the options with a short description can be found at |Q_op|.
56095609
'lispoptions' 'lop' string (default "")
56105610
local to buffer
56115611
Comma-separated list of items that influence the Lisp indenting when
5612-
enabled with the |'lisp'| option. Currently only one item is
5613-
supported:
5612+
enabled with the 'lisp' option. Currently only one item is supported:
56145613
expr:1 use 'indentexpr' for Lisp indenting when it is set
56155614
expr:0 do not use 'indentexpr' for Lisp indenting (default)
56165615
Note that when using 'indentexpr' the `=` operator indents all the
@@ -5620,7 +5619,7 @@ A jump table for the options with a short description can be found at |Q_op|.
56205619
'lispwords' 'lw' string (default is very long)
56215620
global or local to buffer |global-local|
56225621
Comma-separated list of words that influence the Lisp indenting when
5623-
enabled with the |'lisp'| option.
5622+
enabled with the 'lisp' option.
56245623

56255624
*'list'* *'nolist'*
56265625
'list' boolean (default off)
@@ -6112,7 +6111,7 @@ A jump table for the options with a short description can be found at |Q_op|.
61126111
When the mouse is not enabled, the GUI will still use the mouse for
61136112
modeless selection. This doesn't move the text cursor.
61146113

6115-
See |mouse-using|. Also see |'clipboard'|.
6114+
See |mouse-using|. Also see 'clipboard'.
61166115

61176116
Note: When enabling the mouse in a terminal, copy/paste will use the
61186117
"* register if there is access to an X-server. The xterm handling of
@@ -6603,7 +6602,7 @@ A jump table for the options with a short description can be found at |Q_op|.
66036602
local to buffer
66046603
When changing the indent of the current line, preserve as much of the
66056604
indent structure as possible. Normally the indent is replaced by a
6606-
series of tabs followed by spaces as required (unless |'expandtab'| is
6605+
series of tabs followed by spaces as required (unless 'expandtab' is
66076606
enabled, in which case only spaces are used). Enabling this option
66086607
means the indent will preserve as many existing characters as possible
66096608
for indenting, and only add additional tabs or spaces as required.
@@ -7238,7 +7237,7 @@ A jump table for the options with a short description can be found at |Q_op|.
72387237
current window also scrolls other scrollbind windows (windows that
72397238
also have this option set). This option is useful for viewing the
72407239
differences between two versions of a file, see 'diff'.
7241-
See |'scrollopt'| for options that determine how this option should be
7240+
See 'scrollopt' for options that determine how this option should be
72427241
interpreted.
72437242
This option is mostly reset when splitting a window to edit another
72447243
file. This means that ":split | edit file" results in two windows
@@ -7658,7 +7657,7 @@ A jump table for the options with a short description can be found at |Q_op|.
76587657
'shiftwidth' 'sw' number (default 8)
76597658
local to buffer
76607659
Number of columns that make up one level of (auto)indentation. Used
7661-
by |'cindent'|, |<<|, |>>|, etc.
7660+
by 'cindent', |<<|, |>>|, etc.
76627661
If set to 0, Vim uses the current 'tabstop' value. Use |shiftwidth()|
76637662
to obtain the effective value in scripts.
76647663

@@ -7881,7 +7880,7 @@ A jump table for the options with a short description can be found at |Q_op|.
78817880
global or local to window |global-local|
78827881
The minimal number of screen columns to keep to the left and to the
78837882
right of the cursor if 'nowrap' is set. Setting this option to a
7884-
value greater than 0 while having |'sidescroll'| also at a non-zero
7883+
value greater than 0 while having 'sidescroll' also at a non-zero
78857884
value makes some context visible in the line you are scrolling in
78867885
horizontally (except at beginning of the line). Setting this option
78877886
to a large value (like 999) has the effect of keeping the cursor
@@ -7893,9 +7892,9 @@ A jump table for the options with a short description can be found at |Q_op|.
78937892
setlocal sidescrolloff=-1
78947893
< NOTE: This option is set to 0 when 'compatible' is set.
78957894

7896-
Example: Try this together with 'sidescroll' and 'listchars' as
7897-
in the following example to never allow the cursor to move
7898-
onto the "extends" character: >
7895+
Example: Try this together with 'sidescroll' and 'listchars' as in the
7896+
following example to never allow the cursor to move onto the
7897+
"extends" character: >
78997898
79007899
:set nowrap sidescroll=1 listchars=extends:>,precedes:<
79017900
:set sidescrolloff=1
@@ -7999,8 +7998,8 @@ A jump table for the options with a short description can be found at |Q_op|.
79997998
in-depth explanations.
80007999

80018000
If Vim is compiled with the |+vartabs| feature then the value of
8002-
'softtabstop' will be ignored if |'varsofttabstop'| is set to
8003-
anything other than an empty string.
8001+
'softtabstop' will be ignored if 'varsofttabstop' is set to anything
8002+
other than an empty string.
80048003

80058004
*'spell'* *'nospell'*
80068005
'spell' boolean (default off)
@@ -8443,12 +8442,12 @@ A jump table for the options with a short description can be found at |Q_op|.
84438442
Careful: All text will be in memory:
84448443
- Don't use this for big files.
84458444
- Recovery will be impossible!
8446-
A swapfile will only be present when |'updatecount'| is non-zero and
8445+
A swapfile will only be present when 'updatecount' is non-zero and
84478446
'swapfile' is set.
84488447
When 'swapfile' is reset, the swap file for the current buffer is
84498448
immediately deleted. When 'swapfile' is set, and 'updatecount' is
84508449
non-zero, a swap file is immediately created.
8451-
Also see |swap-file| and |'swapsync'|.
8450+
Also see |swap-file| and 'swapsync'.
84528451
If you want to open a new buffer without creating a swap file for it,
84538452
use the |:noswapfile| modifier.
84548453
See 'directory' for where the swap file is created.
@@ -8653,7 +8652,7 @@ A jump table for the options with a short description can be found at |Q_op|.
86538652
character (ASCII 9); a Horizontal Tab always advances to the next tab
86548653
stop.
86558654
The value must be at least 1 and at most 9999.
8656-
If Vim was compiled with |+vartabs| and |'vartabstop'| is set, this
8655+
If Vim was compiled with |+vartabs| and 'vartabstop' is set, this
86578656
option is ignored.
86588657
Leave it at 8 unless you have a strong reason (see usr |30.5|).
86598658

@@ -9115,7 +9114,7 @@ A jump table for the options with a short description can be found at |Q_op|.
91159114
When Vim was compiled with HAVE_X11 defined, the original title will
91169115
be restored if possible. The output of ":version" will include "+X11"
91179116
when HAVE_X11 was defined, otherwise it will be "-X11". This also
9118-
works for the icon name |'icon'|.
9117+
works for the icon name 'icon'.
91199118
But: When Vim was started with the |-X| argument, restoring the title
91209119
will not work (except in the GUI).
91219120
If the title cannot be restored, it is set to the value of 'titleold'.
@@ -9348,7 +9347,7 @@ A jump table for the options with a short description can be found at |Q_op|.
93489347
global
93499348
{only when compiled with the |+persistent_undo| feature}
93509349
List of directory names for undo files, separated with commas.
9351-
See |'backupdir'| for details of the format.
9350+
See 'backupdir' for details of the format.
93529351
"." means using the directory of the file. The undo file name for
93539352
"file.txt" is ".file.txt.un~".
93549353
For other directories the file name is the full path of the edited
@@ -9420,13 +9419,13 @@ A jump table for the options with a short description can be found at |Q_op|.
94209419
recovery |crash-recovery|). 'updatecount' is set to zero by starting
94219420
Vim with the "-n" option, see |startup|. When editing in readonly
94229421
mode this option will be initialized to 10000.
9423-
The swapfile can be disabled per buffer with |'swapfile'|.
9422+
The swapfile can be disabled per buffer with 'swapfile'.
94249423
When 'updatecount' is set from zero to non-zero, swap files are
94259424
created for all buffers that have 'swapfile' set. When 'updatecount'
94269425
is set to zero, existing swap files are not deleted.
9427-
Also see |'swapsync'|.
9428-
This option has no meaning in buffers where |'buftype'| is "nofile"
9429-
or "nowrite".
9426+
Also see 'swapsync'.
9427+
This option has no meaning in buffers where 'buftype' is "nofile" or
9428+
"nowrite".
94309429

94319430
*'updatetime'* *'ut'*
94329431
'updatetime' 'ut' number (default 4000)

0 commit comments

Comments
 (0)