nixos-laptop/home-manager/neovim/bufferline.lua

15 lines
410 B
Lua
Raw Normal View History

require("bufferline").setup{
options = {
diagnostics = 'nvim_lsp',
diagnostics_indicator = function(count, level, diagnostics_dict, context)
local icon = level:match("error") and "" or ""
return " " .. icon .. count
end,
separator_style = "slant",
hover = {
enabled = true,
reveal = {'close'},
},
},
}