akinsho / akinsho/bufferline.nvim

Setting offsets.text with empty will leave a empty line

未关闭
#984 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Lua
星标
4.4k
派生
240
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。