Skip to content

Commit 1bb953a

Browse files
committed
Update options.{txt,jax}
1 parent fdc4063 commit 1bb953a

File tree

2 files changed

+41
-19
lines changed

2 files changed

+41
-19
lines changed

doc/options.jax

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Nov 09
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Nov 23
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -1721,12 +1721,15 @@ Note 1番目の形式では、行全体がオプション指定に使われる
17211721
|file-searching| も参照。
17221722
既定値は環境変数 $CDPATH から取り込まれるが、カレントディレクトリを最
17231723
初に探すために "," が先頭に挿入される。
1724-
$CDPATH から取り込まれたものが望ましくないときは、値を上書きするために、
1725-
次のコマンドを適当に修正し、ユーザーのファイル vimrc に加えること: >
1724+
$CDPATH から取り込まれたものが望ましくないときは、値を上書きするため
1725+
に、次のコマンドを適当に修正し、ユーザーのファイル vimrc に加えること:
1726+
>
17261727
:let &cdpath = ',' .. substitute(substitute($CDPATH, '[, ]', '\\\0', 'g'), ':', ',', 'g')
1727-
< セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
1728-
内で設定することはできない。('cdpath' の値の一部は、ファイル名を展開す
1729-
るためにシェルに渡すことができる)。
1728+
< 環境変数は |:set_env| によって展開される。
1729+
このオプションは、セキュリティ上の理由により、|modeline| または
1730+
|sandbox| からは設定できない。
1731+
('cdpath' の値の一部は、ファイル名を展開するためにシェルに渡すことがで
1732+
きる)。
17301733

17311734
*'cedit'*
17321735
'cedit' 文字列 (Viの既定値: "", Vimの既定値: CTRL-F)
@@ -2040,7 +2043,6 @@ Note 1番目の形式では、行全体がオプション指定に使われる
20402043
*'commentstring'* *'cms'* *E537*
20412044
'commentstring' 'cms' 文字列 (既定では "/* %s */")
20422045
バッファについてローカル
2043-
{|+folding| 機能付きでコンパイルされたときのみ有効}
20442046
コメント用のテンプレート (雛形)。値内の "%s" はコメントテキストに置き
20452047
換えられ、可能な限りスペースでパディングされるべきである。現在のとこ
20462048
ろ、折り畳み用のマーカーを追加するために使用されている。|fold-marker|
@@ -3099,6 +3101,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
30993101
ファイル名にコンマを含めるには、コンマの前に '\' を置くこと。コンマの
31003102
後ろの空白は無視されるが、それ以外の空白はファイル名の一部として扱われ
31013103
る。'\' の使い方については |option-backslash| を参照すること。
3104+
環境変数は |:set_env| によって展開される。
31023105
このオプションは変数の辞書型|Dictionary|とは関係ない。
31033106
単語リストはどこで見つかるか?
31043107
- FreeBSDでは、"/usr/share/dict/words" というファイルがある。
@@ -6170,7 +6173,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
61706173
:set mkspellmem=900000,3000,800
61716174
< 512 Mbyte より少ないメモリしか持っていないなら、'mkspellmem' がどんな
61726175
値であっても、ある言語に対しては |:mkspell|が失敗するかもしれない。
6173-
6176+
環境変数は |:set_env| によって展開される。
61746177
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
61756178
内で設定することはできない。
61766179

@@ -6587,6 +6590,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
65876590
*'packpath'* *'pp'*
65886591
'packpath' 'pp' 文字列 (既定では: 'runtimepath' を参照)
65896592
パッケージを見つけるために使われるディレクトリ。 |packages| を参照。
6593+
環境変数は |:set_env| によって展開される。
65906594
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
65916595
内で設定することはできない。
65926596

@@ -7387,6 +7391,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
73877391
レクトリは、環境変数 $VIMRUNTIME の後に指定すればよい。
73887392
Vim が |--clean| 付きで開始される場合、ホームディレクトリのエントリは
73897393
含まれない。
7394+
環境変数は |:set_env| によって展開される。
73907395
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
73917396
内で設定することはできない。
73927397

@@ -8221,6 +8226,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
82218226
加することもできる。しかしその場合、'spellfile' がそのファイル名に設定
82228227
されているときだけ使われる。'spelllang' のエントリに対しては地域名を省
82238228
いたファイルだけが使われる。
8229+
環境変数は |:set_env| によって展開される。
82248230
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
82258231
内で設定することはできない。
82268232

@@ -8338,7 +8344,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
83388344
"best", "double", "fast" は、どれか1つだけ指定できる。他のものはどんな
83398345
順序で何回指定してもよい。例: >
83408346
:set sps=file:~/.vim/sugg,best,expr:MySuggest()
8341-
<
8347+
< 環境変数は |:set_env| によって展開される。
83428348
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
83438349
内で設定することはできない。
83448350

@@ -9191,8 +9197,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる
91919197
値に空白や '\' を含める方法については、|option-backslash| を参照。リス
91929198
トにディレクトリを追加または削除する場合は |:set+=| および |:set-=| を
91939199
使うのがよい。こうすると将来のバージョンで異なった既定値が使われるよう
9194-
になったときに、問題が起きるのを防げる。セキュリティ上の理由から、バッ
9195-
ククォート (`) をこのオプションの値に使うことはできない。
9200+
になったときに、問題が起きるのを防げる。
9201+
環境変数は |:set_env| によって展開される。
9202+
セキュリティ上の理由から、バッククォート (`) をこのオプションの値に使
9203+
うことはできない。
91969204

91979205
*'thesaurusfunc'* *'tsrfu'*
91989206
'thesaurusfunc' 'tsrfu' 文字列 (既定では空)
@@ -9526,6 +9534,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
95269534
'ttytype' 'tty' 文字列 (既定値は $TERM によって決まる)
95279535
グローバル
95289536
上記のオプション 'term' の別名。
9537+
環境変数は |:set_env| によって展開される。
95299538

95309539
*'undodir'* *'udir'*
95319540
'undodir' 'udir' 文字列 (既定値は ".")
@@ -9544,6 +9553,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
95449553
に見つかったファイルが使用される。見つかったファイルが読めなかったりエ
95459554
ラーが発生したりしても、それ以降のエントリは使用されない。
95469555
|undo-persistence| 参照。
9556+
環境変数は |:set_env| によって展開される。
95479557
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
95489558
内で設定することはできない。
95499559

@@ -9695,6 +9705,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
96959705
'verbosefile' を新しい値に設定すると、最初に空に設定したのと同じことに
96969706
なる。|:redir|との違いは、'verbosefile' が設定されているとき冗長なメッ
96979707
セージは画面に表示されないことである。
9708+
環境変数は |:set_env| によって展開される。
96989709
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
96999710
内で設定することはできない。
97009711

@@ -9708,6 +9719,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
97089719
{|+mksession| 機能付きでコンパイルされたときのみ有効}
97099720
コマンド |:mkview| によるファイルを格納するディレクトリの名前。
97109721
$XDG_CONFIG_HOME については、|xdg-base-dir| を参照。
9722+
環境変数は |:set_env| によって展開される。
97119723
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
97129724
内で設定することはできない。
97139725

@@ -9855,6 +9867,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
98559867
"NONE" のとき、viminfo の読み込みも書き込みもされない。
98569868
このオプションはコマンドラインの |-i| フラグで設定することができる。
98579869
コマンドラインからの |--clean| フラグはこれを "NONE" に設定する。
9870+
環境変数は |:set_env| によって展開される。
98589871
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
98599872
内で設定することはできない。
98609873

en/options.txt

Lines changed: 17 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: 2025 Nov 09
1+
*options.txt* For Vim version 9.1. Last change: 2025 Nov 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1670,7 +1670,8 @@ A jump table for the options with a short description can be found at |Q_op|.
16701670
a modified version of the following command in your vimrc file to
16711671
override it: >
16721672
:let &cdpath = ',' .. substitute(substitute($CDPATH, '[, ]', '\\\0', 'g'), ':', ',', 'g')
1673-
< This option cannot be set from a |modeline| or in the |sandbox|, for
1673+
< Environment variables are expanded |:set_env|.
1674+
This option cannot be set from a |modeline| or in the |sandbox|, for
16741675
security reasons.
16751676
(parts of 'cdpath' can be passed to the shell to expand file names).
16761677

@@ -1991,8 +1992,6 @@ A jump table for the options with a short description can be found at |Q_op|.
19911992
*'commentstring'* *'cms'* *E537*
19921993
'commentstring' 'cms' string (default "/* %s */")
19931994
local to buffer
1994-
{not available when compiled without the |+folding|
1995-
feature}
19961995
A template for a comment. The "%s" in the value is replaced with the
19971996
comment text, and should be padded with a space when possible.
19981997
Currently used to add markers for folding, see |fold-marker|. Also
@@ -3066,6 +3065,7 @@ A jump table for the options with a short description can be found at |Q_op|.
30663065
To include a comma in a file name precede it with a backslash. Spaces
30673066
after a comma are ignored, otherwise spaces are included in the file
30683067
name. See |option-backslash| about using backslashes.
3068+
Environment variables are expanded |:set_env|.
30693069
This has nothing to do with the |Dictionary| variable type.
30703070
Where to find a list of words?
30713071
- On FreeBSD, there is the file "/usr/share/dict/words".
@@ -6118,7 +6118,7 @@ A jump table for the options with a short description can be found at |Q_op|.
61186118
:set mkspellmem=900000,3000,800
61196119
< If you have less than 512 Mbyte |:mkspell| may fail for some
61206120
languages, no matter what you set 'mkspellmem' to.
6121-
6121+
Environment variables are expanded |:set_env|.
61226122
This option cannot be set from a |modeline| or in the |sandbox|, for
61236123
security reasons.
61246124

@@ -6541,6 +6541,7 @@ A jump table for the options with a short description can be found at |Q_op|.
65416541
*'packpath'* *'pp'*
65426542
'packpath' 'pp' string (default: see 'runtimepath')
65436543
Directories used to find packages. See |packages|.
6544+
Environment variables are expanded |:set_env|.
65446545
This option cannot be set from a |modeline| or in the |sandbox|, for
65456546
security reasons.
65466547

@@ -7365,6 +7366,7 @@ A jump table for the options with a short description can be found at |Q_op|.
73657366
runtime files.
73667367
When Vim is started with |--clean| the home directory entries are not
73677368
included.
7369+
Environment variables are expanded |:set_env|.
73687370
This option cannot be set from a |modeline| or in the |sandbox|, for
73697371
security reasons.
73707372

@@ -8197,6 +8199,7 @@ A jump table for the options with a short description can be found at |Q_op|.
81978199
name if you want to. However, it will then only be used when
81988200
'spellfile' is set to it, for entries in 'spelllang' only files
81998201
without region name will be found.
8202+
Environment variables are expanded |:set_env|.
82008203
This option cannot be set from a |modeline| or in the |sandbox|, for
82018204
security reasons.
82028205

@@ -8324,7 +8327,7 @@ A jump table for the options with a short description can be found at |Q_op|.
83248327
Only one of "best", "double" or "fast" may be used. The others may
83258328
appear several times in any order. Example: >
83268329
:set sps=file:~/.vim/sugg,best,expr:MySuggest()
8327-
<
8330+
< Environment variables are expanded |:set_env|.
83288331
This option cannot be set from a |modeline| or in the |sandbox|, for
83298332
security reasons.
83308333

@@ -9161,8 +9164,9 @@ A jump table for the options with a short description can be found at |Q_op|.
91619164
name. See |option-backslash| about using backslashes. The use of
91629165
|:set+=| and |:set-=| is preferred when adding or removing directories
91639166
from the list. This avoids problems when a future version uses
9164-
another default. Backticks cannot be used in this option for security
9165-
reasons.
9167+
another default.
9168+
Environment variables are expanded |:set_env|.
9169+
Backticks cannot be used in this option for security reasons.
91669170

91679171
*'thesaurusfunc'* *'tsrfu'*
91689172
'thesaurusfunc' 'tsrfu' string (default: empty)
@@ -9490,6 +9494,7 @@ A jump table for the options with a short description can be found at |Q_op|.
94909494
'ttytype' 'tty' string (default from $TERM)
94919495
global
94929496
Alias for 'term', see above.
9497+
Environment variables are expanded |:set_env|.
94939498

94949499
*'undodir'* *'udir'*
94959500
'undodir' 'udir' string (default ".")
@@ -9507,6 +9512,7 @@ A jump table for the options with a short description can be found at |Q_op|.
95079512
undo file that exists is used. When it cannot be read an error is
95089513
given, no further entry is used.
95099514
See |undo-persistence|.
9515+
Environment variables are expanded |:set_env|.
95109516
This option cannot be set from a |modeline| or in the |sandbox|, for
95119517
security reasons.
95129518

@@ -9658,6 +9664,7 @@ A jump table for the options with a short description can be found at |Q_op|.
96589664
Setting 'verbosefile' to a new value is like making it empty first.
96599665
The difference with |:redir| is that verbose messages are not
96609666
displayed when 'verbosefile' is set.
9667+
Environment variables are expanded |:set_env|.
96619668
This option cannot be set from a |modeline| or in the |sandbox|, for
96629669
security reasons.
96639670

@@ -9672,6 +9679,7 @@ A jump table for the options with a short description can be found at |Q_op|.
96729679
feature}
96739680
Name of the directory where to store files for |:mkview|.
96749681
For $XDG_CONFIG_HOME see |xdg-base-dir|.
9682+
Environment variables are expanded |:set_env|.
96759683
This option cannot be set from a |modeline| or in the |sandbox|, for
96769684
security reasons.
96779685

@@ -9827,6 +9835,7 @@ A jump table for the options with a short description can be found at |Q_op|.
98279835
When equal to "NONE" no viminfo file will be read or written.
98289836
This option can be set with the |-i| command line flag. The |--clean|
98299837
command line flag sets it to "NONE".
9838+
Environment variables are expanded |:set_env|.
98309839
This option cannot be set from a |modeline| or in the |sandbox|, for
98319840
security reasons.
98329841

0 commit comments

Comments
 (0)