akinsho / akinsho/bufferline.nvim

Setting offsets.text with empty will leave a empty line

Ouverte
#984 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Lua
Étoiles
4.4k
Forks
240
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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_

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.