akinsho / akinsho/bufferline.nvim

[Bug]: Setting diagnostics and diagnostics_update_in_insert will throw a runtime error

オープン
#965 コメント 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?

image

### What did you expect to happen?

without runtime error

### Config

```lua
options = {
-- ...
diagnostics = "nvim_lsp",
diagnostics_update_in_insert = true,
}
```

### Additional Information

The problem can be seen in the following link, maybe one of the two function calls are not longer supported in newer versions of neovim ?

Anyways it was easy to prevent the error by looking at the code but you may one to fix this ?

https://github.com/akinsho/bufferline.nvim/blob/main/lua/bufferline/config.lua#L65

### commit

_No response_

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

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

評価

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

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

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