2023-11-25 14:37:36 +02:00
|
|
|
-- Bufferline
|
|
|
|
--- @type LazyPluginSpec
|
2023-11-18 02:27:14 +02:00
|
|
|
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,
|
|
|
|
},
|
|
|
|
},
|
2023-11-18 02:27:14 +02:00
|
|
|
}
|