From 81041940f469fba3c9eb6efe32eb3174281806df Mon Sep 17 00:00:00 2001 From: Webhooked <9132742+webhooked@users.noreply.github.com> Date: Wed, 5 Nov 2025 10:15:55 +0100 Subject: [PATCH] Improve BufferLine highlight definitions --- lua/kanso/highlights/plugins.lua | 114 +++++++++++++++---------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/lua/kanso/highlights/plugins.lua b/lua/kanso/highlights/plugins.lua index 0c4b48e..68fd349 100644 --- a/lua/kanso/highlights/plugins.lua +++ b/lua/kanso/highlights/plugins.lua @@ -531,66 +531,66 @@ function M.setup(colors, config) bold = config.bold, }, - BufferLineBackground = { fg = theme.ui.none, bg = theme.ui.none }, - BufferLineBuffer = { fg = theme.ui.none, bg = theme.ui.none }, - BufferLineBufferSelected = { bg = theme.ui.none, fg = theme.ui.fg }, - BufferLineBufferVisible = { bg = theme.ui.none }, - BufferLineCloseButton = { bg = theme.ui.none }, - BufferLineCloseButtonSelected = { bg = theme.ui.none }, - BufferLineCloseButtonVisible = { bg = theme.ui.none }, - BufferLineDuplicate = { bg = theme.ui.none }, - BufferLineDuplicateSelected = { bg = theme.ui.none }, - BufferLineDuplicateVisible = { bg = theme.ui.none }, - BufferLineError = { bg = theme.ui.none, sp = theme.ui.none }, - BufferLineErrorDiagnostic = { bg = theme.ui.none, sp = theme.ui.none }, - BufferLineErrorDiagnosticSelected = { bg = theme.ui.none, sp = theme.ui.none }, - BufferLineErrorDiagnosticVisible = { bg = theme.ui.none }, - BufferLineErrorSelected = { bg = theme.ui.none, sp = theme.ui.none }, - BufferLineErrorVisible = { bg = theme.ui.none }, + BufferLineBackground = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineBuffer = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineBufferSelected = { bg = theme.ui.none, fg = theme.ui.fg, bold = config.bold }, + BufferLineBufferVisible = { fg = theme.ui.fg_dim, bg = theme.ui.none }, + BufferLineCloseButton = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineCloseButtonSelected = { fg = theme.ui.fg, bg = theme.ui.none }, + BufferLineCloseButtonVisible = { fg = theme.ui.fg_dim, bg = theme.ui.none }, + BufferLineDuplicate = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineDuplicateSelected = { fg = theme.ui.fg, bg = theme.ui.none, bold = config.bold }, + BufferLineDuplicateVisible = { fg = theme.ui.fg_dim, bg = theme.ui.none }, + BufferLineError = { fg = theme.ui.special, bg = theme.ui.none, sp = theme.ui.none }, + BufferLineErrorDiagnostic = { fg = theme.ui.special, bg = theme.ui.none, sp = theme.ui.none }, + BufferLineErrorDiagnosticSelected = { fg = theme.diag.error, bg = theme.ui.none, sp = theme.ui.none, bold = config.bold }, + BufferLineErrorDiagnosticVisible = { fg = theme.diag.error, bg = theme.ui.none }, + BufferLineErrorSelected = { fg = theme.diag.error, bg = theme.ui.none, sp = theme.ui.none, bold = config.bold }, + BufferLineErrorVisible = { fg = theme.diag.error, bg = theme.ui.none }, BufferLineFill = { bg = theme.ui.none }, - BufferLineHint = { sp = theme.ui.none, bg = theme.ui.none }, - BufferLineHintDiagnostic = { sp = theme.ui.none, bg = theme.ui.none }, - BufferLineHintDiagnosticSelected = { bg = theme.ui.none, sp = theme.ui.none }, - BufferLineHintDiagnosticVisible = { bg = theme.ui.none }, - BufferLineHintSelected = { bg = theme.ui.none, sp = theme.ui.none }, - BufferLineHintVisible = { bg = theme.ui.none }, - BufferLineInfo = { sp = theme.ui.none, bg = theme.ui.none }, - BufferLineInfoDiagnostic = { sp = theme.ui.none, bg = theme.ui.none }, - BufferLineInfoDiagnosticSelected = { sp = theme.ui.none, bg = theme.ui.none }, - BufferLineInfoDiagnosticVisible = { bg = theme.ui.none }, - BufferLineInfoSelected = { bg = theme.ui.none, sp = theme.ui.none }, - BufferLineInfoVisible = { bg = theme.ui.none }, - BufferLineIndicatorSelected = { bg = theme.ui.none }, - BufferLineModified = { bg = theme.ui.none }, - BufferLineModifiedSelected = { bg = theme.ui.none }, - BufferLineModifiedVisible = { bg = theme.ui.none }, - BufferLineNumbers = { bg = theme.ui.none }, - BufferLineNumbersSelected = { bg = theme.ui.none }, - BufferLineNumbersVisible = { bg = theme.ui.none }, - BufferLineOffsetSeparator = { bg = theme.ui.none }, - BufferLineSeparator = { bg = theme.ui.none }, - BufferLineSeparatorSelected = { bg = theme.ui.none }, - BufferLineSeparatorVisible = { bg = theme.ui.none }, - BufferLineTab = { bg = theme.ui.none }, - BufferLinePick = { bg = theme.ui.none }, - BufferLinePickSelected = { bg = theme.ui.none }, - BufferLineDevIconLua = { bg = theme.ui.none }, + BufferLineHint = { fg = theme.ui.special, sp = theme.ui.none, bg = theme.ui.none }, + BufferLineHintDiagnostic = { fg = theme.ui.special, sp = theme.ui.none, bg = theme.ui.none }, + BufferLineHintDiagnosticSelected = { fg = theme.diag.hint, bg = theme.ui.none, sp = theme.ui.none, bold = config.bold }, + BufferLineHintDiagnosticVisible = { fg = theme.diag.hint, bg = theme.ui.none }, + BufferLineHintSelected = { fg = theme.diag.hint, bg = theme.ui.none, sp = theme.ui.none, bold = config.bold }, + BufferLineHintVisible = { fg = theme.diag.hint, bg = theme.ui.none }, + BufferLineInfo = { fg = theme.ui.special, sp = theme.ui.none, bg = theme.ui.none }, + BufferLineInfoDiagnostic = { fg = theme.ui.special, sp = theme.ui.none, bg = theme.ui.none }, + BufferLineInfoDiagnosticSelected = { fg = theme.diag.info, bg = theme.ui.none, sp = theme.ui.none, bold = config.bold }, + BufferLineInfoDiagnosticVisible = { fg = theme.diag.info, bg = theme.ui.none }, + BufferLineInfoSelected = { fg = theme.diag.info, bg = theme.ui.none, sp = theme.ui.none, bold = config.bold }, + BufferLineInfoVisible = { fg = theme.diag.info, bg = theme.ui.none }, + BufferLineIndicatorSelected = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineModified = { fg = theme.vcs.changed, bg = theme.ui.none }, + BufferLineModifiedSelected = { fg = theme.vcs.changed, bg = theme.ui.none, bold = config.bold }, + BufferLineModifiedVisible = { fg = theme.vcs.changed, bg = theme.ui.none }, + BufferLineNumbers = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineNumbersSelected = { fg = theme.ui.fg, bg = theme.ui.none, bold = config.bold }, + BufferLineNumbersVisible = { fg = theme.ui.fg_dim, bg = theme.ui.none }, + BufferLineOffsetSeparator = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineSeparator = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineSeparatorSelected = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineSeparatorVisible = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineTab = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLinePick = { fg = theme.syn.special1, bg = theme.ui.none, bold = config.bold }, + BufferLinePickSelected = { fg = theme.syn.special1, bg = theme.ui.none, bold = config.bold }, + BufferLineDevIconLua = { fg = theme.ui.special, bg = theme.ui.none }, BufferLineDevIconLuaSelected = { bg = theme.ui.none }, BufferLineDevIconLuaVisible = { bg = theme.ui.none }, - BufferLineDevIconLuaInactive = { bg = theme.ui.none }, - BufferLinePickVisible = { bg = theme.ui.none }, - BufferLineIndicatorVisible = { bg = theme.ui.none }, - BufferLineTabClose = { bg = theme.ui.none }, - BufferLineTabSelected = { bg = theme.ui.none }, - BufferLineTabSeparator = { bg = theme.ui.none }, - BufferLineTabSeparatorSelected = { bg = theme.ui.none }, - BufferLineTruncMarker = { bg = theme.ui.none }, - BufferLineWarning = { bg = theme.ui.none }, - BufferLineWarningDiagnostic = { bg = theme.ui.none }, - BufferLineWarningDiagnosticSelected = { bg = theme.ui.none }, - BufferLineWarningDiagnosticVisible = { bg = theme.ui.none }, - BufferLineWarningSelected = { bg = theme.ui.none }, - BufferLineWarningVisible = { bg = theme.ui.none }, + BufferLineDevIconLuaInactive = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLinePickVisible = { fg = theme.syn.special1, bg = theme.ui.none, bold = config.bold }, + BufferLineIndicatorVisible = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineTabClose = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineTabSelected = { fg = theme.ui.fg, bg = theme.ui.none, bold = config.bold }, + BufferLineTabSeparator = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineTabSeparatorSelected = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineTruncMarker = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineWarning = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineWarningDiagnostic = { fg = theme.ui.special, bg = theme.ui.none }, + BufferLineWarningDiagnosticSelected = { fg = theme.diag.warning, bg = theme.ui.none, bold = config.bold }, + BufferLineWarningDiagnosticVisible = { fg = theme.diag.warning, bg = theme.ui.none }, + BufferLineWarningSelected = { fg = theme.diag.warning, bg = theme.ui.none, bold = config.bold }, + BufferLineWarningVisible = { fg = theme.diag.warning, bg = theme.ui.none }, } end