1
0
Fork 0
dotfiles/config/nvim/lua/nifoc/config/bufferline.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",
},
},
}
}