Skip to content

Commit 241c797

Browse files
authored
Merge pull request #1426 from mityu/update-options
Update options.{txt,jax}
2 parents c51d6f8 + c2424d0 commit 241c797

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

doc/options.jax

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2023 Nov 20
1+
*options.txt* For Vim バージョン 9.1. Last change: 2024 Jan 30
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -3506,10 +3506,9 @@ Note 1番目の形式では、行全体がオプション指定に使われる
35063506
*'fillchars'* *'fcs'*
35073507
'fillchars' 'fcs' 文字列 (既定では "vert:|,fold:-,eob:~")
35083508
グローバル/ウィンドウについてローカル |global-local|
3509-
{|+folding| 機能付きでコンパイルされたときのみ有効}
35103509
ウィンドウのステータス行、垂直分割の区切り、特殊行を埋める文字。
35113510
これはコンマで区切られた項目のリストである。各項目には、名前、コロン、
3512-
およびその項目の値がある:
3511+
およびその項目の値がある: |E1511|
35133512

35143513
キーワード 既定値 変更の対象 ~
35153514
stl ' ' カレントウィンドウのステータス行
@@ -3530,7 +3529,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
35303529
<
35313530
"stl", "stlnc", "foldopen", "foldclose", "foldsep" 項目に対しては1バイ
35323531
トおよびマルチバイトの文字をサポートしている。しかし全角文字幅の文字は
3533-
サポートしていない。
3532+
サポートしていない。|E1512|
35343533

35353534
強調表示が行われるものおよびその属するグループ:
35363535
項目名 ハイライトグループ ~
@@ -3873,9 +3872,9 @@ Note 1番目の形式では、行全体がオプション指定に使われる
38733872
:s///gg 全て置換 最初だけ置換
38743873

38753874
NOTE: このオプションは、'compatible' がオンになるとオフになるので注意。
3876-
DEPRECATED: このオプションを設定すると、このオプションを知らないプラグ
3877-
インを壊すかもしれない。また、多くのユーザーが標準の /g とは正反対の効
3878-
果を持っている /g フラグを付けることについて混乱する
3875+
このオプションを設定すると、'g' フラグのデフォルトの挙動に依存するプラ
3876+
グインが壊れるかもしれない。また、'g' フラグが |:s_g| に記載されている
3877+
説明と真逆の効果を持つようにもなる
38793878
このオプションは |Vim9| script では利用されない。
38803879

38813880
*'grepformat'* *'gfm'*
@@ -5302,7 +5301,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
53025301
'listchars' 'lcs' 文字列 (既定では "eol:$")
53035302
グローバル/ウィンドウについてローカル |global-local|
53045303
'list' モードと |:list| コマンドでの表示に使われる文字を設定する。値は
5305-
指定文字列のコンマ区切りのリストである。
5304+
指定文字列のコンマ区切りのリストである。*E1511*
53065305
*lcs-eol*
53075306
eol:文字 行末の表示に使われる文字。指定されないと、行末には何も
53085307
表示されない。
@@ -5376,7 +5375,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
53765375

53775376
文字 ':' と ',' は使えない。'encoding' が "utf-8" のときはUTF-8の文字
53785377
が使える。そうでないときはprintableな文字 {訳注: 文書先頭を参照} だけ
5379-
が使える。全ての文字は幅が1でなければならない。
5378+
が使える。全ての文字は幅が1でなければならない。*E1512*
53805379

53815380
各文字は16進数で指定できる: >
53825381
set listchars=eol:\\x24
@@ -5532,6 +5531,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
55325531
この制限を200より大きな値に増やした場合、Exコマンドの再帰の最大値も変
55335532
更される。|E169| 参照。
55345533
|:function| も参照。
5534+
コールバック関数の呼び出しの深さの最大値にも用いられる。
55355535

55365536
*'maxmapdepth'* *'mmd'* *E223*
55375537
'maxmapdepth' 'mmd' 数値 (既定では 1000)
@@ -8631,8 +8631,11 @@ Note 1番目の形式では、行全体がオプション指定に使われる
86318631
版を除く)。
86328632
タイトルを復元できないときは、'titleold' がタイトルになる。その場合は
86338633
Vimの外でタイトルを復元したいと思うかもしれない。ネットワーク越しに
8634-
xterm を使っているときは、次のコマンドが使える。
8634+
xterm を使っているときは、次のコマンドが使える。 >
8635+
86358636
rsh マシン名 xterm -display $DISPLAY &
8637+
ssh -X マシン名 xterm &
8638+
<
86368639
すると環境変数 $WINDOWID の値が受け継がれ、ウィンドウのタイトルは、Vim
86378640
の終了後に戻るべき状態に戻る。
86388641

en/options.txt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2023 Nov 20
1+
*options.txt* For Vim version 9.1. Last change: 2024 Jan 30
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -997,11 +997,11 @@ A jump table for the options with a short description can be found at |Q_op|.
997997
what the background color looks like. For changing the background
998998
color, see |:hi-normal|.
999999

1000-
When 'background' is set Vim will adjust the default color groups for
1001-
the new value. But the colors used for syntax highlighting will not
1002-
change. *g:colors_name*
1000+
When 'background' is changed Vim will adjust the default color groups
1001+
for the new value. But the colors used for syntax highlighting will
1002+
not change. *g:colors_name*
10031003
When a color scheme is loaded (the "g:colors_name" variable is set)
1004-
setting 'background' will cause the color scheme to be reloaded. If
1004+
changing 'background' will cause the color scheme to be reloaded. If
10051005
the color scheme adjusts to the value of 'background' this will work.
10061006
However, if the color scheme sets 'background' itself the effect may
10071007
be undone. First delete the "g:colors_name" variable when needed.
@@ -3478,12 +3478,10 @@ A jump table for the options with a short description can be found at |Q_op|.
34783478
*'fillchars'* *'fcs'*
34793479
'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~")
34803480
global or local to window |global-local|
3481-
{not available when compiled without the |+folding|
3482-
feature}
34833481
Characters to fill the statuslines, vertical separators and special
34843482
lines in the window.
34853483
It is a comma-separated list of items. Each item has a name, a colon
3486-
and the value of that item:
3484+
and the value of that item: |E1511|
34873485

34883486
item name default Used for ~
34893487
stl ' ' statusline of the current window
@@ -3504,7 +3502,7 @@ A jump table for the options with a short description can be found at |Q_op|.
35043502
<
35053503
For the "stl", "stlnc", "foldopen", "foldclose" and "foldsep" items
35063504
single-byte and multibyte characters are supported. But double-width
3507-
characters are not supported.
3505+
characters are not supported. |E1512|
35083506

35093507
The highlighting used for these items:
35103508
item name highlight group ~
@@ -3838,9 +3836,9 @@ A jump table for the options with a short description can be found at |Q_op|.
38383836
:s///gg subst. all subst. one
38393837

38403838
NOTE: This option is reset when 'compatible' is set.
3841-
DEPRECATED: Setting this option may break plugins that are not aware
3842-
of this option. Also, many users get confused that adding the /g flag
3843-
has the opposite effect of that it normally does.
3839+
Setting this option may break plugins that rely on the default
3840+
behavior of the 'g' flag. This will also make the 'g' flag have the
3841+
opposite effect of that documented in |:s_g|.
38443842
This option is not used in |Vim9| script.
38453843

38463844
*'grepformat'* *'gfm'*
@@ -5243,7 +5241,7 @@ A jump table for the options with a short description can be found at |Q_op|.
52435241
'listchars' 'lcs' string (default "eol:$")
52445242
global or local to window |global-local|
52455243
Strings to use in 'list' mode and for the |:list| command. It is a
5246-
comma-separated list of string settings.
5244+
comma-separated list of string settings. *E1511*
52475245
*lcs-eol*
52485246
eol:c Character to show at the end of each line. When
52495247
omitted, there is no extra character at the end of the
@@ -5319,7 +5317,7 @@ A jump table for the options with a short description can be found at |Q_op|.
53195317

53205318
The characters ':' and ',' should not be used. UTF-8 characters can
53215319
be used when 'encoding' is "utf-8", otherwise only printable
5322-
characters are allowed. All characters must be single width.
5320+
characters are allowed. All characters must be single width. *E1512*
53235321

53245322
Each character can be specified as hex: >
53255323
set listchars=eol:\\x24
@@ -5477,6 +5475,7 @@ A jump table for the options with a short description can be found at |Q_op|.
54775475
Increasing this limit above 200 also changes the maximum for Ex
54785476
command recursion, see |E169|.
54795477
See also |:function|.
5478+
Also used for maximum depth of callback functions.
54805479

54815480
*'maxmapdepth'* *'mmd'* *E223*
54825481
'maxmapdepth' 'mmd' number (default 1000)
@@ -8582,8 +8581,11 @@ A jump table for the options with a short description can be found at |Q_op|.
85828581
will not work (except in the GUI).
85838582
If the title cannot be restored, it is set to the value of 'titleold'.
85848583
You might want to restore the title outside of Vim then.
8585-
When using an xterm from a remote machine you can use this command:
8584+
When using an xterm from a remote machine you can use this command: >
8585+
85868586
rsh machine_name xterm -display $DISPLAY &
8587+
ssh -X machine_name xterm &
8588+
<
85878589
then the WINDOWID environment variable should be inherited and the
85888590
title of the window should change back to what it should be after
85898591
exiting Vim.

0 commit comments

Comments
 (0)