runtime(doc): fix some style issues and remove obsolete docs

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-06-07 18:31:42 +02:00
committed by Christian Brabandt
parent 834bb85172
commit 8f7256a5ee
4 changed files with 33 additions and 48 deletions

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Jun 02 *builtin.txt* For Vim version 9.1. Last change: 2025 Jun 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -2047,8 +2047,8 @@ complete_match([{lnum}, {col}]) *complete_match()*
or empty string if no match was found or when using the or empty string if no match was found or when using the
default 'iskeyword' pattern. default 'iskeyword' pattern.
When 'isexpand' is empty, uses the 'iskeyword' pattern When 'isexpand' is empty, uses the 'iskeyword' pattern "\k\+$"
"\k\+$" to find the start of the current keyword. to find the start of the current keyword.
Examples: > Examples: >
set isexpand=.,->,/,/*,abc set isexpand=.,->,/,/*,abc

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2025 Jun 05 *options.txt* For Vim version 9.1. Last change: 2025 Jun 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -7704,7 +7704,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'showtabpanel'* *'stpl'* *'showtabpanel'* *'stpl'*
'showtabpanel' 'stpl' number (default 0) 'showtabpanel' 'stpl' number (default 0)
global global
{not in Vi}
{not available when compiled without the |+tabpanel| {not available when compiled without the |+tabpanel|
feature} feature}
The value of this option specifies when the |tabpanel| with tab page The value of this option specifies when the |tabpanel| with tab page
@ -7712,7 +7711,6 @@ A jump table for the options with a short description can be found at |Q_op|.
0: never 0: never
1: only if there are at least two tab pages 1: only if there are at least two tab pages
2: always 2: always
This is for the non-GUI implementation of the tabpanel only.
See |tab-page| for more information about tab page labels. See |tab-page| for more information about tab page labels.
*'sidescroll'* *'ss'* *'sidescroll'* *'ss'*
@ -8432,7 +8430,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'tabpanel'* *'tpl'* *g:actual_curtabpage* *'tabpanel'* *'tpl'* *g:actual_curtabpage*
'tabpanel' 'tpl' string (default empty) 'tabpanel' 'tpl' string (default empty)
global global
{not in Vi}
When non-empty, this option determines the content of the |tabpanel|. When non-empty, this option determines the content of the |tabpanel|.
The option consists of printf style '%' items interspersed with The option consists of printf style '%' items interspersed with
normal text, similar to the 'statusline' or 'tabline'. normal text, similar to the 'statusline' or 'tabline'.
@ -8443,8 +8440,8 @@ A jump table for the options with a short description can be found at |Q_op|.
You can use |g:actual_curtabpage| within a function assigned to You can use |g:actual_curtabpage| within a function assigned to
tabpanel. |g:actual_curtabpage| represents current tab's label number. tabpanel. |g:actual_curtabpage| represents current tab's label number.
This option can contain line breaks: The option value can contain line breaks: >
>
set tabpanel=%!TabPanel() set tabpanel=%!TabPanel()
function! TabPanel() abort function! TabPanel() abort
return printf("(%2d)\n %%f", g:actual_curtabpage) return printf("(%2d)\n %%f", g:actual_curtabpage)
@ -8461,30 +8458,28 @@ A jump table for the options with a short description can be found at |Q_op|.
| | | |
| | | |
< <
*'tabpanelopt'* *'tplo'* *'tabpanelopt'* *'tplo'*
'tabpanelopt' 'tplo' string (default "") 'tabpanelopt' 'tplo' string (default "")
global global
{not in Vi}
Optional settings for the |tabpanel|, It can consist of the following Optional settings for the |tabpanel|, It can consist of the following
items. Items must be separated by a comma. items. Items must be separated by a comma.
align:{text} Specifies the position of the tabpanel. align:{text} Specifies the position of the tabpanel.
Currently supported positions are: Currently supported positions are:
left left-aligned left left-side
right right-aligned right right-side
(default "left") (default "left")
columns:{n} Use the size (in characters) of the tabpanel. columns:{n} Number of columns of the tabpanel.
The tabpanel is never shown when using zero If this value is 0 or less than 'columns', the
or less than the size of Vim window. tab panel will not be displayed.
(default 20) (default 20)
vert Use a vertical separator for tabpanel. vert Use a vertical separator for tabpanel.
This vertical separator used is "tpl_vert" of The vertical separator character is taken from
'fillchars'. "tpl_vert" in 'fillchars'.
(default off) (default off)
Examples: > Examples: >
@ -8493,16 +8488,15 @@ A jump table for the options with a short description can be found at |Q_op|.
:set tabpanelopt=vert,align:right :set tabpanelopt=vert,align:right
:set tabpanelopt=columns:16 :set tabpanelopt=columns:16
< <
*'tabstop'* *'ts'* *'tabstop'* *'ts'*
'tabstop' 'ts' number (default 8) 'tabstop' 'ts' number (default 8)
local to buffer local to buffer
Defines the column multiple used to display the Horizontal Tab Defines the column multiple used to display the Horizontal Tab
character (ASCII 9); a Horizontal Tab always advances to the next character (ASCII 9); a Horizontal Tab always advances to the next tab
tab stop. stop.
The value must be at least 1 and at most 9999. The value must be at least 1 and at most 9999.
If Vim was compiled with |+vartabs| and |'vartabstop'| is set, this option If Vim was compiled with |+vartabs| and |'vartabstop'| is set, this
is ignored. option is ignored.
Leave it at 8 unless you have a strong reason (see usr |30.5|). Leave it at 8 unless you have a strong reason (see usr |30.5|).

View File

@ -1,4 +1,4 @@
*tabpage.txt* For Vim version 9.1. Last change: 2025 May 30 *tabpage.txt* For Vim version 9.1. Last change: 2025 Jun 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -441,7 +441,8 @@ To configure the tabpanel, use the following options: 'tabpanel',
The 'tabpanel' and 'showtabpanel' options function similar to The 'tabpanel' and 'showtabpanel' options function similar to
'statusline' or 'tabline'. 'statusline' or 'tabline'.
The "columns:" of 'tabpanelopt' option specifies the width of the tabpanel: The "columns:" item of 'tabpanelopt' option specifies the width of the
tabpanel:
> >
+------ This width +------ This width
| |
@ -451,26 +452,17 @@ The "columns:" of 'tabpanelopt' option specifies the width of the tabpanel:
| ~/aaa.txt|text text text text text text text | ~/aaa.txt|text text text text text text text
|(2) |text text text text text text text |(2) |text text text text text text text
< <
The "align:" of 'tabpanelopt' option determines whether the tabpanel is The "align:" item of the 'tabpanelopt' option determines whether the tabpanel
displayed on the right side of the window: will be displayed on the left or right side of the window:
> >
+----------------------------------+----------- +----------------------------------+-----------
|text text text text text text text|(1) |text text text text text text text|(1)
|text text text text text text text| ~/aaa.txt |text text text text text text text| ~/aaa.txt
|text text text text text text text|(2) |text text text text text text text|(2)
< <
The "wrap" of 'tabpanelopt' option controls whether lines in tabpanel are The "vert" item of the 'tabpanelopt' option specifies whether a vertical
wraped: separator should be displayed between the tabpanel and the display part of the
> window:
+-----------+----------------------------------
|(1) |text text text text text text text
| ~/long_lo|text text text text text text text
|ng_file_nam|text text text text text text text
|e.txt |text text text text text text text
|(2) |text text text text text text text
The "vert" of 'tabpanelopt' option defines whether a vertical separator is
displayed between the tabpanel and the main window:
> >
+------ This is +------ This is
| |
@ -480,7 +472,7 @@ displayed between the tabpanel and the main window:
| ~/aaa.txt|text text text text text text text | ~/aaa.txt|text text text text text text text
|(2) |text text text text text text text |(2) |text text text text text text text
< <
The vertical separator used is "tpl_vert" of 'fillchars'. The vertical separator character is taken from "tpl_vert" in 'fillchars'.
You can customize the appearance of the tab page labels using the highlight You can customize the appearance of the tab page labels using the highlight
groups: |hl-TabPanel| |hl-TabPanelSel| |hl-TabPanelFill| groups: |hl-TabPanel| |hl-TabPanelSel| |hl-TabPanelFill|

View File

@ -1,4 +1,4 @@
*various.txt* For Vim version 9.1. Last change: 2025 May 15 *various.txt* For Vim version 9.1. Last change: 2025 Jun 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -41,7 +41,6 @@ CTRL-L Clear and redraw the screen. The redraw may happen
when 'tabpanel' includes an item that doesn't trigger when 'tabpanel' includes an item that doesn't trigger
automatic updating. automatic updating.
*N<Del>* *N<Del>*
<Del> When entering a number: Remove the last digit. <Del> When entering a number: Remove the last digit.
Note: if you like to use <BS> for this, add this Note: if you like to use <BS> for this, add this