23 lines
464 B
Lua
23 lines
464 B
Lua
require('bufferline').setup{
|
|
options = {
|
|
show_close_icon = false,
|
|
|
|
diagnostics = "nvim_lsp",
|
|
diagnostics_indicator = function(count, level, diagnostics_dict, context)
|
|
if context.buffer:current() then
|
|
return ''
|
|
end
|
|
|
|
return " (" .. count .. ")"
|
|
end,
|
|
|
|
offsets = {
|
|
{
|
|
filetype = "NvimTree",
|
|
text = "File Explorer",
|
|
highlight = "Directory",
|
|
text_align = "left",
|
|
},
|
|
},
|
|
}
|
|
}
|