2021-07-06 07:26:25 -04:00
|
|
|
return require('bufferline').setup {
|
|
|
|
options = {
|
2021-07-07 04:08:00 -04:00
|
|
|
numbers = 'none',
|
2021-07-06 07:26:25 -04:00
|
|
|
mappings = true,
|
2021-07-07 04:08:00 -04:00
|
|
|
max_name_length = 16,
|
|
|
|
max_prefix_length = 14,
|
|
|
|
tab_size = 20,
|
2021-07-06 07:26:25 -04:00
|
|
|
diagnostics = 'nvim_lsp',
|
2021-07-07 04:08:00 -04:00
|
|
|
show_close_icon = false,
|
|
|
|
show_buffer_icons = true,
|
2021-07-06 07:26:25 -04:00
|
|
|
show_tab_indicators = true,
|
|
|
|
enforce_regular_tabs = false,
|
|
|
|
show_buffer_close_icons = true,
|
|
|
|
always_show_bufferline = true,
|
2021-07-07 04:08:00 -04:00
|
|
|
offsets = {
|
|
|
|
{filetype = 'NvimTree', text = 'NvimTree', text_align = 'left'},
|
|
|
|
{filetype = 'packer', text = 'Packer', text_align = 'left'}
|
|
|
|
},
|
2021-07-06 07:26:25 -04:00
|
|
|
separator_style = 'thin'
|
|
|
|
}
|
|
|
|
}
|