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
parent b0a172647a
commit 5acb2cc169
2 changed files with 38 additions and 35 deletions

View File

@ -72,25 +72,28 @@ M.fg_weaker = {'#bbbbbb', 251, 'gray'} -- Lightest text (very subtle)
M.fg_exception = {'#7c4444', 251, 'gray'}
-- ============================================================================
-- Status Foreground Colors
-- Status Foreground Colors (Git/Diff - muted natural tones)
-- ============================================================================
-- Git/diff status indicators (used in statusline, signs, etc.)
M.success = {'#89af89', 196, 'white'} -- Success/addition (green)
M.modified = {'#8989af', 196, 'white'} -- Modified/change (blue)
M.fail = {'#af8989', 196, 'white'} -- Fail/deletion (red)
-- These are muted, natural colors for git changes
M.success = {'#89af89', 196, 'white'} -- Success/addition (muted green)
M.modified = {'#8989af', 196, 'white'} -- Modified/change (muted blue)
M.fail = {'#af8989', 196, 'white'} -- Fail/deletion (muted red)
-- ============================================================================
-- Alert/Diagnostic Colors
-- Alert/Diagnostic Colors (Fluorescent/Neon - intentionally jarring)
-- ============================================================================
-- Alert colors (errors, warnings - red/orange scale)
M.alert_strong = {'#d70000', 124, 'darkred'} -- Strong error (bright red)
M.alert = {'#d75f00', 196, 'red'} -- Normal alert (orange-red)
M.alert_weak = {'#000000', 203, 'red'} -- Weak alert (black - used for text)
-- These colors are designed to be NOTICED, not blend in with code
-- Fluorescent/neon aesthetic similar to bg_hl_special_alt colors
-- Think "highlighter marker" - bright, synthetic, stands out on white paper
-- Question/info color (black - for prompts, info messages)
M.question = {'#000000', 0, 'black'}
-- LSP Diagnostics - Fluorescent colors for maximum visibility
M.diag_error = {'#ff0066', 197, 'red'} -- Hot pink-red (screams "error!")
M.diag_warn = {'#ff6600', 202, 'red'} -- Fluorescent orange (warnings)
M.diag_info = {'#00ccff', 45, 'cyan'} -- Bright fluorescent cyan (info - more prominent)
M.diag_hint = {'#66e0ff', 81, 'cyan'} -- Softer fluorescent cyan (hint - less prominent)
-- ============================================================================
-- Primary Accent Colors (brownish-red tones)

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)