dotfiles/nvim/after/plugin/bufferline.lua

19 lines
485 B
Lua
Raw Normal View History

require("bufferline").setup{
options = {
separator_style = "slant",
show_buffer_icons = true,
show_close_icon = false,
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level)
local icon = level:match("error") and "" or ""
return icon .. count
end,
highlights = {
tab = {
fg = '#121212',
bg = '#120000'
}
}
}
}