This commit is contained in:
Zacharias-Brohn
2025-12-10 12:25:21 +01:00
parent 533e740964
commit 8c9d5aba7f
14 changed files with 516 additions and 163 deletions
+13 -5
View File
@@ -3,16 +3,24 @@ require("bufferline").setup ({
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level, diagnostics_dict, context)
local s = " "
for e, n in pairs(diagnostics_dict) do
local sym = e == "error" and ""
or (e == "warning" and "" or " ")
s = s .. n .. sym
if diagnostics_dict then
for e, n in pairs(diagnostics_dict) do
local sym = e == "error" and " "
or (e == "warning" and "" or "")
s = sym .. n
end
return s
end
return s
return ""
end,
show_close_icon = false,
show_buffer_close_icons = false,
always_show_bufferline = true,
tab_size = 1,
indicator = {
style = "icon",
icon = "",
},
offsets = {
{
filetype = "NvimTree",