A new "slant" style for the tab bar

This commit is contained in:
Kovid Goyal
2021-08-03 08:45:55 +05:30
parent b3231c8003
commit ab889e2945
5 changed files with 59 additions and 10 deletions

View File

@@ -1167,7 +1167,7 @@ class Parser:
raise ValueError(f"The value {val} is not a valid choice for tab_bar_style")
ans["tab_bar_style"] = val
choices_for_tab_bar_style = frozenset(('fade', 'hidden', 'powerline', 'separator'))
choices_for_tab_bar_style = frozenset(('fade', 'hidden', 'powerline', 'separator', 'slant'))
def tab_fade(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['tab_fade'] = tab_fade(val)