Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Add user defined buffer number style. #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Dephilia
Copy link

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.

Add "bufnr_style" and "bufnr_direction" in options. "bufnr_style" accept
a table that map buffer number to other character; "bufnr_direction" set
the place to show buffer number.
@kdheepak
Copy link
Owner

Thanks for the PR! That is a neat feature!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants