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

@ -94,17 +94,20 @@ return {
-- Spelling
-- ============================================================================
SpellBad = { fg = c.alert_strong, bg = c.bg_error_weak },
SpellCap = { fg = c.alert, bg = c.bg_error_weak },
SpellLocal = { fg = c.alert_weak, bg = c.bg_error_weak },
SpellRare = { fg = c.alert_weak, bg = c.bg_error_weak },
-- Spelling errors: normal text color with bright colored underline
-- sp (special) sets the underline color, separate from text foreground
-- Both underline and undercurl for terminal compatibility
SpellBad = { sp = c.diag_error, underline = true, undercurl = true }, -- Serious error: hot pink-red underline
SpellCap = { sp = c.diag_warn, underline = true, undercurl = true }, -- Capitalization: orange underline
SpellLocal = { sp = c.diag_weak, underline = true, undercurl = true }, -- Wrong region: lighter orange underline
SpellRare = { sp = c.diag_weak, underline = true, undercurl = true }, -- Rare word: lighter orange underline
-- ============================================================================
-- Messages & Prompts
-- ============================================================================
ErrorMsg = { fg = c.alert, bold = true },
WarningMsg = { fg = c.alert, bold = true },
ErrorMsg = { fg = c.diag_error, bold = true },
WarningMsg = { fg = c.diag_warn, bold = true },
Question = { fg = c.question, bold = true },
ModeMsg = { fg = c.question },
MoreMsg = { fg = c.question },