Made powerline tab_bar_style have different display options

This commit is contained in:
Sam Foster
2021-02-23 21:07:01 -06:00
parent 3ce04c3e4b
commit 2a3cc71641
2 changed files with 21 additions and 5 deletions

View File

@@ -907,6 +907,11 @@ entries to this list.
o('tab_separator', '"{}"'.format(default_tab_separator), option_type=tab_separator, long_text=_('''
The separator between tabs in the tab bar when using :code:`separator` as the :opt:`tab_bar_style`.'''))
o('tab_powerline_style', 'angled', option_type=choices('angled', 'slanted', 'round'), long_text=_('''
The powerline separator style between tabs in the tab bar when using :code:`powerline`
as the :opt:`tab_bar_style`, can be one of: :code:`angled`, :code:`slanted`, or :code:`round`.
'''))
def tab_activity_symbol(x: str) -> Optional[str]:
if x == 'none':