akinsho / akinsho/bufferline.nvim

Setting offsets.text with empty will leave a empty line

オープン
#984 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。