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:
parent
b0a172647a
commit
5acb2cc169
|
|
@ -72,25 +72,28 @@ M.fg_weaker = {'#bbbbbb', 251, 'gray'} -- Lightest text (very subtle)
|
||||||
M.fg_exception = {'#7c4444', 251, 'gray'}
|
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.)
|
-- Git/diff status indicators (used in statusline, signs, etc.)
|
||||||
M.success = {'#89af89', 196, 'white'} -- Success/addition (green)
|
-- These are muted, natural colors for git changes
|
||||||
M.modified = {'#8989af', 196, 'white'} -- Modified/change (blue)
|
M.success = {'#89af89', 196, 'white'} -- Success/addition (muted green)
|
||||||
M.fail = {'#af8989', 196, 'white'} -- Fail/deletion (red)
|
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)
|
-- These colors are designed to be NOTICED, not blend in with code
|
||||||
M.alert_strong = {'#d70000', 124, 'darkred'} -- Strong error (bright red)
|
-- Fluorescent/neon aesthetic similar to bg_hl_special_alt colors
|
||||||
M.alert = {'#d75f00', 196, 'red'} -- Normal alert (orange-red)
|
-- Think "highlighter marker" - bright, synthetic, stands out on white paper
|
||||||
M.alert_weak = {'#000000', 203, 'red'} -- Weak alert (black - used for text)
|
|
||||||
|
|
||||||
-- Question/info color (black - for prompts, info messages)
|
-- LSP Diagnostics - Fluorescent colors for maximum visibility
|
||||||
M.question = {'#000000', 0, 'black'}
|
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)
|
-- Primary Accent Colors (brownish-red tones)
|
||||||
|
|
|
||||||
|
|
@ -8,33 +8,33 @@ return {
|
||||||
-- LSP Diagnostics
|
-- LSP Diagnostics
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
-- Error diagnostics (red)
|
-- Error diagnostics (fluorescent hot pink)
|
||||||
DiagnosticError = { fg = c.alert_strong }, -- Bright red #d70000
|
DiagnosticError = { fg = c.diag_error }, -- Hot pink #ff0066
|
||||||
DiagnosticUnderlineError = { sp = c.alert_strong, undercurl = true },
|
DiagnosticUnderlineError = { sp = c.diag_error, undercurl = true },
|
||||||
DiagnosticSignError = { fg = c.alert_strong, bg = c.bg },
|
DiagnosticSignError = { fg = c.diag_error, bg = c.bg },
|
||||||
DiagnosticFloatingError = { fg = c.alert_strong },
|
DiagnosticFloatingError = { fg = c.diag_error },
|
||||||
DiagnosticVirtualTextError = { fg = c.alert_strong }, -- No background
|
DiagnosticVirtualTextError = { fg = c.diag_error }, -- No background
|
||||||
|
|
||||||
-- Warning diagnostics (orange)
|
-- Warning diagnostics (fluorescent orange)
|
||||||
DiagnosticWarn = { fg = c.alert }, -- Orange-red #d75f00
|
DiagnosticWarn = { fg = c.diag_warn }, -- Fluorescent orange #ff6600
|
||||||
DiagnosticUnderlineWarn = { sp = c.alert, undercurl = true },
|
DiagnosticUnderlineWarn = { sp = c.diag_warn, undercurl = true },
|
||||||
DiagnosticSignWarn = { fg = c.alert, bg = c.bg },
|
DiagnosticSignWarn = { fg = c.diag_warn, bg = c.bg },
|
||||||
DiagnosticFloatingWarn = { fg = c.alert },
|
DiagnosticFloatingWarn = { fg = c.diag_warn },
|
||||||
DiagnosticVirtualTextWarn = { fg = c.alert }, -- No background
|
DiagnosticVirtualTextWarn = { fg = c.diag_warn }, -- No background
|
||||||
|
|
||||||
-- Info diagnostics (blue)
|
-- Info diagnostics (bright fluorescent cyan)
|
||||||
DiagnosticInfo = { fg = c.modified }, -- Blue #8989af
|
DiagnosticInfo = { fg = c.diag_info }, -- Bright cyan #00ccff
|
||||||
DiagnosticUnderlineInfo = { sp = c.modified, underline = true },
|
DiagnosticUnderlineInfo = { sp = c.diag_info, underline = true },
|
||||||
DiagnosticSignInfo = { fg = c.modified, bg = c.bg },
|
DiagnosticSignInfo = { fg = c.diag_info, bg = c.bg },
|
||||||
DiagnosticFloatingInfo = { fg = c.modified },
|
DiagnosticFloatingInfo = { fg = c.diag_info },
|
||||||
DiagnosticVirtualTextInfo = { fg = c.modified }, -- No background
|
DiagnosticVirtualTextInfo = { fg = c.diag_info }, -- No background
|
||||||
|
|
||||||
-- Hint diagnostics (green)
|
-- Hint diagnostics (softer fluorescent cyan)
|
||||||
DiagnosticHint = { fg = c.success }, -- Green #89af89
|
DiagnosticHint = { fg = c.diag_hint }, -- Soft cyan #66e0ff
|
||||||
DiagnosticUnderlineHint = { sp = c.success, underline = true },
|
DiagnosticUnderlineHint = { sp = c.diag_hint, underline = true },
|
||||||
DiagnosticSignHint = { fg = c.success, bg = c.bg },
|
DiagnosticSignHint = { fg = c.diag_hint, bg = c.bg },
|
||||||
DiagnosticFloatingHint = { fg = c.success },
|
DiagnosticFloatingHint = { fg = c.diag_hint },
|
||||||
DiagnosticVirtualTextHint = { fg = c.success }, -- No background
|
DiagnosticVirtualTextHint = { fg = c.diag_hint }, -- No background
|
||||||
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- LSP References (document highlight)
|
-- LSP References (document highlight)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue