Update bufferline config
This commit is contained in:
parent
3e750e71e5
commit
5b6fc28621
1 changed files with 18 additions and 0 deletions
|
@ -1,5 +1,23 @@
|
|||
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",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue