akinsho / akinsho/bufferline.nvim

[Feature Request]: Text alignment in buffer tabs

Aperta
#870 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Lua
Stelle
4.4k
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What?

Would like the option to choose text alignment in buffer tabs (i.e. mode="buffers"). Could not find any options for doing this in the config. There is an option for aligning the text in the offset area, so I imagine it will be something similar to that: A simple buffer_text_alignment option in the config allowing 'center' | 'left' | 'right'. This might of course be more complicated than it seems at a first glance due to all the other possible options (e.g. separator style might be slanted, close button might or might not be present), so I imagine it would be easiest to have it for the 'thin' setting as a start?

### Why?

Just seems like a thing that should be adjustable. Also, it is my personal preference having buffer names left aligned and the centering just does not look that good to me.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.