Skip to content

[mini.tabline] Allow overwriting of tabpage section #2140

@ibutra

Description

@ibutra

Contributing guidelines

Module(s)

mini.tabline

Description

I would really like to be able to customize the "Tab 1/2" part of MiniTabline. My usecase is that I implemented a system myself to name tabs. This is a try to stay atop of different tasks I have to work on concurrently.

My suggestion would be to add a field to the config which is a function. This function would return what to print instead of "Tab 1/2". Then use this function inside make_tabpage_section.

I would also be willing to implement a PR for this if this gets your blessing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions