dotfiles/home/.config/nvim/lua/plugins/bufferline.lua

17 lines
395 B
Lua
Raw Normal View History

2023-11-25 14:37:36 +02:00
-- Bufferline
--- @type LazyPluginSpec
return {
"akinsho/bufferline.nvim",
dependencies = { "kyazdani42/nvim-web-devicons" },
2023-11-25 14:37:36 +02:00
--- @type BufferlineConfig
2023-11-18 22:31:29 +02:00
opts = {
options = {
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level)
local icon = level:match("error") and "" or ""
return " " .. icon .. count
end,
},
},
}