Add LSP diagnostic backgrounds for better visibility

Introduce light tinted backgrounds for LSP diagnostics
to enhance code highlighting and improve user experience.
This commit is contained in:
Ray Elliott 2025-12-11 23:45:02 +00:00
commit f2a94d10ac
3 changed files with 16 additions and 17 deletions

View file

@ -8,30 +8,30 @@ return {
-- LSP Diagnostics
-- ============================================================================
-- Error diagnostics (fluorescent hot pink)
-- Error diagnostics (fluorescent hot pink with light pink background)
DiagnosticError = { fg = c.diag_error }, -- Hot pink #ff0066
DiagnosticUnderlineError = { sp = c.diag_error, undercurl = true },
DiagnosticUnderlineError = { bg = c.bg_diag_error }, -- Light pink background instead of undercurl
DiagnosticSignError = { fg = c.diag_error, bg = c.bg },
DiagnosticFloatingError = { fg = c.diag_error },
DiagnosticVirtualTextError = { fg = c.diag_error }, -- No background
-- Warning diagnostics (fluorescent orange)
-- Warning diagnostics (fluorescent orange with light orange background)
DiagnosticWarn = { fg = c.diag_warn }, -- Fluorescent orange #ff6600
DiagnosticUnderlineWarn = { sp = c.diag_warn, undercurl = true },
DiagnosticUnderlineWarn = { bg = c.bg_diag_warn }, -- Light orange background instead of undercurl
DiagnosticSignWarn = { fg = c.diag_warn, bg = c.bg },
DiagnosticFloatingWarn = { fg = c.diag_warn },
DiagnosticVirtualTextWarn = { fg = c.diag_warn }, -- No background
-- Info diagnostics (bright fluorescent cyan)
-- Info diagnostics (bright fluorescent cyan with light cyan background)
DiagnosticInfo = { fg = c.diag_info }, -- Bright cyan #00ccff
DiagnosticUnderlineInfo = { sp = c.diag_info, underline = true },
DiagnosticUnderlineInfo = { bg = c.bg_diag_info }, -- Light cyan background instead of underline
DiagnosticSignInfo = { fg = c.diag_info, bg = c.bg },
DiagnosticFloatingInfo = { fg = c.diag_info },
DiagnosticVirtualTextInfo = { fg = c.diag_info }, -- No background
-- Hint diagnostics (softer fluorescent cyan)
-- Hint diagnostics (softer fluorescent cyan with very light cyan background)
DiagnosticHint = { fg = c.diag_hint }, -- Soft cyan #66e0ff
DiagnosticUnderlineHint = { sp = c.diag_hint, underline = true },
DiagnosticUnderlineHint = { bg = c.bg_diag_hint }, -- Very light cyan background instead of underline
DiagnosticSignHint = { fg = c.diag_hint, bg = c.bg },
DiagnosticFloatingHint = { fg = c.diag_hint },
DiagnosticVirtualTextHint = { fg = c.diag_hint }, -- No background