Update LSP colors for better visibility and clarity

Refine diagnostic colors to use fluorescent tones for errors,
warnings, and hints, enhancing visibility in the editor.
This commit is contained in:
Ray Elliott 2025-12-11 23:36:29 +00:00
commit 5acb2cc169
2 changed files with 38 additions and 35 deletions

View file

@ -8,33 +8,33 @@ return {
-- LSP Diagnostics
-- ============================================================================
-- Error diagnostics (red)
DiagnosticError = { fg = c.alert_strong }, -- Bright red #d70000
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 }, -- No background
-- Error diagnostics (fluorescent hot pink)
DiagnosticError = { fg = c.diag_error }, -- Hot pink #ff0066
DiagnosticUnderlineError = { sp = c.diag_error, undercurl = true },
DiagnosticSignError = { fg = c.diag_error, bg = c.bg },
DiagnosticFloatingError = { fg = c.diag_error },
DiagnosticVirtualTextError = { fg = c.diag_error }, -- 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 }, -- No background
-- Warning diagnostics (fluorescent orange)
DiagnosticWarn = { fg = c.diag_warn }, -- Fluorescent orange #ff6600
DiagnosticUnderlineWarn = { sp = c.diag_warn, undercurl = true },
DiagnosticSignWarn = { fg = c.diag_warn, bg = c.bg },
DiagnosticFloatingWarn = { fg = c.diag_warn },
DiagnosticVirtualTextWarn = { fg = c.diag_warn }, -- 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 }, -- No background
-- Info diagnostics (bright fluorescent cyan)
DiagnosticInfo = { fg = c.diag_info }, -- Bright cyan #00ccff
DiagnosticUnderlineInfo = { sp = c.diag_info, underline = true },
DiagnosticSignInfo = { fg = c.diag_info, bg = c.bg },
DiagnosticFloatingInfo = { fg = c.diag_info },
DiagnosticVirtualTextInfo = { fg = c.diag_info }, -- 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 }, -- No background
-- Hint diagnostics (softer fluorescent cyan)
DiagnosticHint = { fg = c.diag_hint }, -- Soft cyan #66e0ff
DiagnosticUnderlineHint = { sp = c.diag_hint, underline = true },
DiagnosticSignHint = { fg = c.diag_hint, bg = c.bg },
DiagnosticFloatingHint = { fg = c.diag_hint },
DiagnosticVirtualTextHint = { fg = c.diag_hint }, -- No background
-- ============================================================================
-- LSP References (document highlight)