[mini.tabline] Allow overwriting of tabpage section
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reading the mini.tabline implementation and its make_tabpage_section entry point. Trace how the current "Tab 1/2" text is produced and how configuration is defined. Done means the tabpage section can be customized through configuration without changing existing default behavior.
Written by the indexing model from the issue text.
Description
Contributing guidelines
- I have read CONTRIBUTING.md
- I have read CODE_OF_CONDUCT.md
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.
- Dominant language
- Lua
- Stars
- 9.6k
- Forks
- 314
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvim-mini/mini.nvim
-
feature-request mini.icons
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
'mini.nvim' and multicursorMay be free again @justinmk claimed this 30 days ago, and no pull request is open. OpenALL neovim-upstream
Difficulty 5/5 Over a week Newbie friendliness 28/100
-
mini.statuscolumn
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
feature-request mini.surround
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
new-module
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in nvim-mini/mini.nvim
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
windwp/nvim-ts-autotag#266 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
folke/sidekick.nvim#362 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pterodactyl/game-eggs#657 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
stalker57241/tabview#10 ·