kdheepak / tabline.nvim

A "buffer and tab" tabline for neovim
MIT License
230 stars 17 forks source link

Add user defined buffer number style. #47

Open Dephilia opened 2 years ago

Dephilia commented 2 years ago

This PR add the options to change the style of buffer number to make it looks better. bufnr_style: table, the mapping target. For example, buffer number 21 will map to ²¹ using the configuration.

bufnr_style = { '⁰', '¹', '²', '³', '⁴', '⁵', '⁶', '⁷', '⁸', '⁹' }

bufnr_direction: boolen, set true to put buffer number to left.

kdheepak commented 2 years ago

Thanks for the PR! That is a neat feature!