return { "akinsho/bufferline.nvim", enabled = custom.full_feature, main = "bufferline", event = "VeryLazy", keys = { { "]b", "BufferLineCycleNext" }, { "[b", "BufferLineCyclePrev" }, { ">b", "BufferLineMoveNext" }, { "BufferLineMovePrev" }, }, opts = { options = { numbers = "ordinal", diagnostics = "nvim_lsp", diagnostics_indicator = function(count, level, diagnostics_dict, context) local icon = level:match("error") and " " or " " return " " .. icon .. count end, separator_style = "thick", offsets = { { filetype = "neo-tree", text = "neo-tree", text_align = "center", separator = true, }, }, persist_buffer_sort = false, } }, }