Clean up the docs for tab_bar_style

This commit is contained in:
Kovid Goyal 2021-08-03 08:52:19 +05:30
parent ab889e2945
commit 815539a933
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -874,14 +874,20 @@ tab.
opt('tab_bar_style', 'fade', opt('tab_bar_style', 'fade',
choices=('fade', 'hidden', 'powerline', 'separator', 'slant'), ctype='!tab_bar_style', choices=('fade', 'hidden', 'powerline', 'separator', 'slant'), ctype='!tab_bar_style',
long_text=''' long_text='''
The tab bar style, can be one of: :code:`fade`, :code:`separator`, The tab bar style, can be one of:
:code:`powerline`, or :code:`hidden`. In the fade style, each tab's edges fade
into the background color, in the slant style tabs look like the tabs in file :code:`fade`
folder, in the separator style, tabs are separated by a configurable separator, Each tab's edges fade into the background color (see :opt:`tab_fade`)
the powerline shows the tabs as a continuous line. If you use the hidden :code:`slant`
style, you might want to create a mapping for the :ref:`action-select_tab` Tabs look like the tabs in a physical file
action which presents you with a list of tabs and allows for easy switching to :code:`separator`
a tab. Tabs are separated by a configurable separator (see :opt:`tab_separator`)
:code:`powerline`
Tabs are shown as a continuous line with "fancy" separators (see :opt:`tab_powerline_style`)
:code:`hidden`
The tab bar is hidden. If you use this, you might want to create a mapping
for the :ref:`action-select_tab` action which presents you with a list
of tabs and allows for easy switching to a tab.
''' '''
) )