From b0a172647aa2693584deacce5363701ba1ef3147 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 11 Dec 2025 23:15:08 +0000 Subject: [PATCH] Remove background colors from virtual text diagnostics Updated LSP diagnostic virtual text settings to remove background colors for better visibility and consistency. --- lua/paper-tonic-modern/groups/lsp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/paper-tonic-modern/groups/lsp.lua b/lua/paper-tonic-modern/groups/lsp.lua index 3a5261d..0e2b522 100644 --- a/lua/paper-tonic-modern/groups/lsp.lua +++ b/lua/paper-tonic-modern/groups/lsp.lua @@ -13,28 +13,28 @@ return { DiagnosticUnderlineError = { sp = c.alert_strong, undercurl = true }, DiagnosticSignError = { fg = c.alert_strong, bg = c.bg }, DiagnosticFloatingError = { fg = c.alert_strong }, - DiagnosticVirtualTextError = { fg = c.alert_strong, bg = c.bg_error_weak }, + DiagnosticVirtualTextError = { fg = c.alert_strong }, -- No background -- Warning diagnostics (orange) DiagnosticWarn = { fg = c.alert }, -- Orange-red #d75f00 DiagnosticUnderlineWarn = { sp = c.alert, undercurl = true }, DiagnosticSignWarn = { fg = c.alert, bg = c.bg }, DiagnosticFloatingWarn = { fg = c.alert }, - DiagnosticVirtualTextWarn = { fg = c.alert, bg = c.bg_fail }, + DiagnosticVirtualTextWarn = { fg = c.alert }, -- No background -- Info diagnostics (blue) DiagnosticInfo = { fg = c.modified }, -- Blue #8989af DiagnosticUnderlineInfo = { sp = c.modified, underline = true }, DiagnosticSignInfo = { fg = c.modified, bg = c.bg }, DiagnosticFloatingInfo = { fg = c.modified }, - DiagnosticVirtualTextInfo = { fg = c.modified, bg = c.bg_modified }, + DiagnosticVirtualTextInfo = { fg = c.modified }, -- No background -- Hint diagnostics (green) DiagnosticHint = { fg = c.success }, -- Green #89af89 DiagnosticUnderlineHint = { sp = c.success, underline = true }, DiagnosticSignHint = { fg = c.success, bg = c.bg }, DiagnosticFloatingHint = { fg = c.success }, - DiagnosticVirtualTextHint = { fg = c.success, bg = c.bg_success }, + DiagnosticVirtualTextHint = { fg = c.success }, -- No background -- ============================================================================ -- LSP References (document highlight)