From ed5563b2106c1e9aa38b5924f18c5fbbdfd4a945 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 22 Sep 2023 13:47:57 +0200 Subject: [PATCH] tab shenanigans --- lua/plex/plugins/extras/ui/bufferline.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lua/plex/plugins/extras/ui/bufferline.lua b/lua/plex/plugins/extras/ui/bufferline.lua index 9fdeb9c..990c0fd 100644 --- a/lua/plex/plugins/extras/ui/bufferline.lua +++ b/lua/plex/plugins/extras/ui/bufferline.lua @@ -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', }, }, + }, }, },