tab shenanigans

This commit is contained in:
Christoph J. Scherr 2023-09-22 13:47:57 +02:00
parent c63e375bba
commit ed5563b210
1 changed files with 11 additions and 2 deletions

View File

@ -4,11 +4,19 @@ return {
event = 'VeryLazy',
opts = {
options = {
-- :h bufferline-configuration
mode = 'tabs',
separator_style = 'slant',
separator_style = {"", ""},
themable = true,
numbers = "ordinal",
show_close_icon = false,
show_buffer_close_icons = false,
diagnostics = false,
diagnostics = true,
indicator = {
-- icon = ' ', -- this should be omitted if indicator style is not 'icon'
-- windows terminal sucks
style = 'none',
},
always_show_bufferline = true,
diagnostics_indicator = function(_, _, diag)
local icons = require('plex.config').icons.diagnostics
@ -39,6 +47,7 @@ return {
text_align = 'center',
},
},
},
},
},