0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

runtime(doc): Fix typos and language in documentation for tabpanel.

closes: #17407

Signed-off-by: Christ van Willegen <cvwillegen@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christ van Willegen 2025-05-30 16:05:58 +02:00 committed by Christian Brabandt
parent 5199567fd0
commit d65cdadb7b
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2025 May 26 *options.txt* For Vim version 9.1. Last change: 2025 May 30
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -8429,7 +8429,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'tabpanel' 'tpl' string (default empty) 'tabpanel' 'tpl' string (default empty)
global global
{not in Vi} {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'.
@ -8465,7 +8465,7 @@ A jump table for the options with a short description can be found at |Q_op|.
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} Specified the position of tabpanel. align:{text} Specifies the position of the tabpanel.
Currently supported positions are: Currently supported positions are:
left left-aligned left left-aligned
@ -8473,13 +8473,13 @@ A jump table for the options with a short description can be found at |Q_op|.
(default "left") (default "left")
columns:{n} Use the size (in char) of tabpanel. columns:{n} Use the size (in characters) of the tabpanel.
The tabpanel is never shown when using zero The tabpanel is never shown when using zero
or less than the size of Vim window. or less than the size of Vim window.
(default 20) (default 20)
vert Use a vertical separator for tabpanel. vert Use a vertical separator for tabpanel.
This vertical separator is used "tpl_vert" of This vertical separator used is "tpl_vert" of
'fillchars'. 'fillchars'.
(default off) (default off)

View File

@ -1,4 +1,4 @@
*tabpage.txt* For Vim version 9.1. Last change: 2025 May 14 *tabpage.txt* For Vim version 9.1. Last change: 2025 May 30
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -436,9 +436,9 @@ side of the window. It looks like this:
| |text text text text text text text | |text text text text text text text
| |text text text text text text text | |text text text text text text text
< <
To configure the tabpanel, use following options: 'tabpanel', To configure the tabpanel, use the following options: 'tabpanel',
'showtabpanel', 'tabpanelopt'. 'showtabpanel' and 'tabpanelopt'.
The 'tabpanel' and 'showtabpanel' options are function similar to the 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:" of 'tabpanelopt' option specifies the width of the tabpanel:
@ -480,7 +480,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 is used "tpl_vert" of 'fillchars'. The vertical separator used is "tpl_vert" of '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|