akinsho / akinsho/bufferline.nvim

Setting offsets.text with empty will leave a empty line

Aperta
#984 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Lua
Stelle
4.4k
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is there an existing issue for this?

- [X] I have searched the existing issues

### What happened?

When I remove the offsets.text or set it with empty, I'll have a empty line at the side bar of neo-tree:

![image](https://github.com/user-attachments/assets/07ee016f-593e-4ae2-bc5e-e2120ba1d7ef)

### What did you expect to happen?

No empty line when setting text with nil.

### Config

options = {
offsets = {
{
filetype = 'neo-tree',
-- text = nil,
highlight = 'Directory',
-- text_align = 'left',
},
},
}

### Additional Information

...

### commit

_No response_

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.