1
0
Fork 0

Update bufferline config

This commit is contained in:
Daniel Kempkens 2021-12-16 21:12:34 +01:00
parent 3e750e71e5
commit 5b6fc28621

View file

@ -1,5 +1,23 @@
require('bufferline').setup{ require('bufferline').setup{
options = { options = {
show_close_icon = false, 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",
},
},
} }
} }