From 3f4430eb82799ca7609deb4eba0a2f125ee4b5d8 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 11 Dec 2025 23:57:40 +0000 Subject: [PATCH] Update diagnostic severity highlighting in quickfix list Change background colors for diagnostic severity groups to improve visibility in quickfix and location lists. --- lua/paper-tonic-modern/groups/editor.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/paper-tonic-modern/groups/editor.lua b/lua/paper-tonic-modern/groups/editor.lua index 4f8c817..9a1ad52 100644 --- a/lua/paper-tonic-modern/groups/editor.lua +++ b/lua/paper-tonic-modern/groups/editor.lua @@ -124,12 +124,12 @@ return { QuickFixLine = { bg = c.bg_hl_special_weak, bold = true }, -- Diagnostic severity highlighting in quickfix/location list - -- These are custom syntax groups defined in autocmds.lua - qfError = { fg = c.diag_error, bold = true }, -- "error:" or "[E]" - qfWarning = { fg = c.diag_warn, bold = true }, -- "warning:" or "[W]" - qfInfo = { fg = c.diag_info, bold = true }, -- "info:" or "[I]" - qfHint = { fg = c.diag_hint, bold = true }, -- "hint:" or "[H]" - qfNote = { fg = c.diag_hint, bold = true }, -- "note:" (same as hint) + -- These are custom syntax groups defined in autocmds.lua (using matchadd) + qfError = { bg = c.bg_diag_error, fg = c.fg }, -- "error" word + qfWarning = { bg = c.bg_diag_warn, fg = c.fg }, -- "warning" word + qfInfo = { bg = c.bg_diag_info, fg = c.fg }, -- "info" word + qfHint = { bg = c.bg_diag_hint, fg = c.fg }, -- "hint" word + qfNote = { bg = c.bg_diag_hint, fg = c.fg }, -- "note" word (same as hint) -- ============================================================================ -- Debug