echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.47k stars 175 forks source link

feat(tabline): add format option for label formatting #888

Closed arcxio closed 1 month ago

arcxio commented 1 month ago

Resolve #868

arcxio commented 1 month ago

unsure if default_format is actually needed as it's basically a noop, but decided to leave it as a reference

echasnovski commented 1 month ago

Thanks for the PR!

I'll take it from here, as this needs some careful design considerations. Plan to merge this functionality into main in a couple of days.

echasnovski commented 1 month ago

This feature should be in main now.

I ended up mostly writing it from scratch (basically preserving only function signature and parts of the test case) due to some performance-related refactoring. Thus you were not included as commit author. Sorry.