Skip to content

Commit 0779cf1

Browse files
committed
Update by original
1 parent 208cebe commit 0779cf1

File tree

2 files changed

+35
-45
lines changed

2 files changed

+35
-45
lines changed

doc/options.jax

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Jun 05
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Jun 07
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -7736,15 +7736,13 @@ Note 1番目の形式では、行全体がオプション指定に使われる
77367736

77377737
*'showtabpanel'* *'stpl'*
77387738
'showtabpanel' 'stpl' 数値 (既定では 0)
7739-
global
77407739
グローバル
77417740
{|+tabpanel| 機能付きでコンパイルされたときのみ有効}
77427741
このオプションの値は、タブページラベル付きの |tabpanel| がいつ表示され
77437742
るかを指定する:
77447743
0: 表示しない
77457744
1: タブページが 2 つ以上ある場合のみ表示
77467745
2: 常に表示
7747-
これはタブパネルの非 GUI 実装専用である。
77487746
タブページラベルの詳細については |tab-page| を参照。
77497747

77507748
*'sidescroll'* *'ss'*
@@ -8477,12 +8475,12 @@ Note 1番目の形式では、行全体がオプション指定に使われる
84778475

84788476
|g:actual_curtabpage| は、タブパネルに割り当てられた関数内で使用でき
84798477
る。|g:actual_curtabpage| はカレントタブのラベル番号を表す。このオプ
8480-
ションには改行を含めることができる:
8481-
>
8482-
set tabpanel=%!TabPanel()
8483-
function! TabPanel() abort
8484-
return printf("(%2d)\n %%f", g:actual_curtabpage)
8485-
endfunction
8478+
ションの値には改行を含めることができる: >
8479+
8480+
set tabpanel=%!TabPanel()
8481+
function! TabPanel() abort
8482+
return printf("(%2d)\n %%f", g:actual_curtabpage)
8483+
endfunction
84868484
<
84878485
結果は以下の通り:
84888486
>
@@ -8495,7 +8493,6 @@ Note 1番目の形式では、行全体がオプション指定に使われる
84958493
| |
84968494
| |
84978495
<
8498-
84998496
*'tabpanelopt'* *'tplo'*
85008497
'tabpanelopt' 'tplo' 文字列 (既定では "")
85018498
グローバル
@@ -8505,19 +8502,19 @@ Note 1番目の形式では、行全体がオプション指定に使われる
85058502
align:{text} タブパネルの位置を指定する。
85068503
現在サポートされているポジションは以下:
85078504

8508-
left 左寄せ
8509-
right 右寄せ
8505+
left 左側
8506+
right 右側
85108507

85118508
(デフォルト "left")
85128509

8513-
columns:{n} タブパネルのサイズ (文字数)
8514-
タブパネルのサイズが 0 かVim ウィンドウのサイ
8515-
ズがより小さい場合、タブパネルは表示されない
8510+
columns:{n} タブパネルの桁数
8511+
この値が 0 または 'columns' より小さい場合、タ
8512+
ブ パネルは表示されない
85168513
(デフォルト 20)
85178514

8518-
vert タブパネルに垂直セパレーターを使用する
8519-
使用される垂直区切り文字は、'fillchars' の
8520-
"tpl_vert" である
8515+
vert タブパネルに垂直区切り文字を使用する
8516+
垂直区切り文字は、'fillchars' の "tpl_vert" か
8517+
ら取得される
85218518
(デフォルト off)
85228519

85238520
例: >
@@ -8526,7 +8523,6 @@ Note 1番目の形式では、行全体がオプション指定に使われる
85268523
:set tabpanelopt=vert,align:right
85278524
:set tabpanelopt=columns:16
85288525
<
8529-
85308526
*'tabstop'* *'ts'*
85318527
'tabstop' 'ts' 数値 (既定では 8)
85328528
バッファについてローカル

en/options.txt

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Jun 05
1+
*options.txt* For Vim version 9.1. Last change: 2025 Jun 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7704,15 +7704,13 @@ A jump table for the options with a short description can be found at |Q_op|.
77047704
*'showtabpanel'* *'stpl'*
77057705
'showtabpanel' 'stpl' number (default 0)
77067706
global
7707-
{not in Vi}
77087707
{not available when compiled without the |+tabpanel|
77097708
feature}
77107709
The value of this option specifies when the |tabpanel| with tab page
77117710
labels will be displayed:
77127711
0: never
77137712
1: only if there are at least two tab pages
77147713
2: always
7715-
This is for the non-GUI implementation of the tabpanel only.
77167714
See |tab-page| for more information about tab page labels.
77177715

77187716
*'sidescroll'* *'ss'*
@@ -8430,9 +8428,8 @@ A jump table for the options with a short description can be found at |Q_op|.
84308428
argument or the ":tab all" command. |tabpage|
84318429

84328430
*'tabpanel'* *'tpl'* *g:actual_curtabpage*
8433-
'tabpanel' 'tpl' string (default empty)
8431+
'tabpanel' 'tpl' string (default empty)
84348432
global
8435-
{not in Vi}
84368433
When non-empty, this option determines the content of the |tabpanel|.
84378434
The option consists of printf style '%' items interspersed with
84388435
normal text, similar to the 'statusline' or 'tabline'.
@@ -8443,12 +8440,12 @@ A jump table for the options with a short description can be found at |Q_op|.
84438440

84448441
You can use |g:actual_curtabpage| within a function assigned to
84458442
tabpanel. |g:actual_curtabpage| represents current tab's label number.
8446-
This option can contain line breaks:
8447-
>
8448-
set tabpanel=%!TabPanel()
8449-
function! TabPanel() abort
8450-
return printf("(%2d)\n %%f", g:actual_curtabpage)
8451-
endfunction
8443+
The option value can contain line breaks: >
8444+
8445+
set tabpanel=%!TabPanel()
8446+
function! TabPanel() abort
8447+
return printf("(%2d)\n %%f", g:actual_curtabpage)
8448+
endfunction
84528449
<
84538450
The result is:
84548451
>
@@ -8461,30 +8458,28 @@ A jump table for the options with a short description can be found at |Q_op|.
84618458
| |
84628459
| |
84638460
<
8464-
84658461
*'tabpanelopt'* *'tplo'*
8466-
'tabpanelopt' 'tplo' string (default "")
8462+
'tabpanelopt' 'tplo' string (default "")
84678463
global
8468-
{not in Vi}
84698464
Optional settings for the |tabpanel|, It can consist of the following
84708465
items. Items must be separated by a comma.
84718466

84728467
align:{text} Specifies the position of the tabpanel.
84738468
Currently supported positions are:
84748469

8475-
left left-aligned
8476-
right right-aligned
8470+
left left-side
8471+
right right-side
84778472

84788473
(default "left")
84798474

8480-
columns:{n} Use the size (in characters) of the tabpanel.
8481-
The tabpanel is never shown when using zero
8482-
or less than the size of Vim window.
8475+
columns:{n} Number of columns of the tabpanel.
8476+
If this value is 0 or less than 'columns', the
8477+
tab panel will not be displayed.
84838478
(default 20)
84848479

84858480
vert Use a vertical separator for tabpanel.
8486-
This vertical separator used is "tpl_vert" of
8487-
'fillchars'.
8481+
The vertical separator character is taken from
8482+
"tpl_vert" in 'fillchars'.
84888483
(default off)
84898484

84908485
Examples: >
@@ -8493,16 +8488,15 @@ A jump table for the options with a short description can be found at |Q_op|.
84938488
:set tabpanelopt=vert,align:right
84948489
:set tabpanelopt=columns:16
84958490
<
8496-
84978491
*'tabstop'* *'ts'*
84988492
'tabstop' 'ts' number (default 8)
84998493
local to buffer
85008494
Defines the column multiple used to display the Horizontal Tab
8501-
character (ASCII 9); a Horizontal Tab always advances to the next
8502-
tab stop.
8495+
character (ASCII 9); a Horizontal Tab always advances to the next tab
8496+
stop.
85038497
The value must be at least 1 and at most 9999.
8504-
If Vim was compiled with |+vartabs| and |'vartabstop'| is set, this option
8505-
is ignored.
8498+
If Vim was compiled with |+vartabs| and |'vartabstop'| is set, this
8499+
option is ignored.
85068500
Leave it at 8 unless you have a strong reason (see usr |30.5|).
85078501

85088502

0 commit comments

Comments
 (0)