Update color definitions and spelling options

Refactor diagnostic colors for better visibility in
editor and plugin highlight groups. Add new spelling
options for enhanced functionality.
This commit is contained in:
Ray Elliott 2026-01-19 14:20:41 +00:00
commit 8ad55cf999
8 changed files with 32 additions and 18 deletions

View file

@ -92,26 +92,33 @@ M.qf_info = {'#5f8faf', 196, 'white'} -- Info (muted blue)
M.qf_hint = {'#5fafaf', 196, 'white'} -- Hint (lighter muted blue)
-- ============================================================================
-- Alert/Diagnostic Colors (Fluorescent/Neon - intentionally jarring)
-- Diagnostic/Alert Colors (Fluorescent/Neon - intentionally jarring)
-- ============================================================================
-- 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
-- Used for: LSP diagnostics, spelling errors, UI alerts, error messages, etc.
-- LSP Diagnostics - Fluorescent colors for maximum visibility
-- Diagnostic foreground - 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)
M.diag_hint_dark = {'#0099cc', 38, 'cyan'} -- Darker cyan for UI elements (readable on white)
-- LSP Diagnostic backgrounds - Light tinted versions for highlighting code
-- Additional severity level for lighter warnings (spelling, etc.)
M.diag_weak = {'#ff9933', 208, 'yellow'} -- Lighter orange (for SpellLocal, SpellRare, etc.)
-- Diagnostic backgrounds - Light tinted versions for highlighting code
M.bg_diag_error = {'#ffe6f0', 224, 'white'} -- Very light pink (for error backgrounds)
M.bg_diag_warn = {'#fff0e6', 223, 'white'} -- Very light orange (for warning backgrounds)
M.bg_diag_info = {'#e6f9ff', 195, 'white'} -- Very light cyan (for info backgrounds)
M.bg_diag_hint = {'#f0fcff', 195, 'white'} -- Very light cyan (for hint backgrounds)
-- Question/prompt color - Fluorescent cyan for prompts
M.question = {'#00ccff', 45, 'cyan'} -- Bright cyan for questions/prompts (same as diag_info)
-- ============================================================================
-- Primary Accent Colors (brownish-red tones)
-- ============================================================================