akinsho / akinsho/bufferline.nvim

[Bug]: bufferline doesnt appear when opening files via oil.nvim

オープン
#1,017 コメント 0 件 リアクション 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?

Didn't quite know whether to create an issue here or in the [oil.nvim](https://github.com/stevearc/oil.nvim) repo, but anyways:

When opening a file with nvim `~/path/to/file` The bufferline gets attached and the next files I open via oil filetree are added as tabs perfectly fine.

When opening nvim in a directory and then opening a file via the oil filetree, the bufferline doesnt get attached and every other files I'm opening are not added to the bufferline.

Really weird. I use the "BufReadPost" & "BufNewFile" events for loading bufferline.nvim so I dont get what the problem is. (opening them via oil.nvim should trigger the same events imo).

### What did you expect to happen?

Buffers are always attached to the bufferline no matter from where they are opened

### Config

```lua
return {
"akinsho/bufferline.nvim",
event = { "BufReadPost", "BufNewFile" },
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
}
```

### Additional Information

_No response_

### commit

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。