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:
parent
3b8be3598c
commit
8ad55cf999
8 changed files with 32 additions and 18 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ return {
|
|||
CmpItemKindText = { fg = c.fg },
|
||||
CmpItemKindFile = { fg = c.fg },
|
||||
CmpItemKindFolder = { fg = c.fg_strong },
|
||||
CmpItemKindColor = { fg = c.alert },
|
||||
CmpItemKindColor = { fg = c.diag_warn },
|
||||
CmpItemKindUnit = { fg = c.fg_weak },
|
||||
CmpItemKindValue = { fg = c.fg_strong },
|
||||
CmpItemKindConstant = { fg = c.fg_strong },
|
||||
|
|
@ -109,7 +109,7 @@ return {
|
|||
OilSize = { fg = c.fg_weak },
|
||||
OilPermissionNone = { fg = c.fg_weaker },
|
||||
OilPermissionRead = { fg = c.success },
|
||||
OilPermissionWrite = { fg = c.alert },
|
||||
OilPermissionWrite = { fg = c.diag_warn },
|
||||
OilPermissionExecute = { fg = c.modified },
|
||||
OilCopy = { fg = c.success, bold = true },
|
||||
OilMove = { fg = c.modified, bold = true },
|
||||
|
|
@ -117,7 +117,7 @@ return {
|
|||
OilDelete = { fg = c.fail, bold = true },
|
||||
OilChange = { fg = c.modified, bold = true },
|
||||
OilRestore = { fg = c.success },
|
||||
OilPurge = { fg = c.alert_strong, bold = true },
|
||||
OilPurge = { fg = c.diag_error, bold = true },
|
||||
OilTrash = { fg = c.fail },
|
||||
OilTrashSourcePath = { fg = c.fg_weak, italic = true },
|
||||
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ return {
|
|||
|
||||
Underlined = { underline = true },
|
||||
Ignore = { fg = c.fg_weak },
|
||||
Error = { fg = c.alert_strong, bold = true },
|
||||
Todo = { fg = c.alert_strong },
|
||||
Error = { fg = c.diag_error, bold = true },
|
||||
Todo = { fg = c.diag_error },
|
||||
|
||||
-- ============================================================================
|
||||
-- Language-Specific: CSS
|
||||
|
|
|
|||
|
|
@ -101,10 +101,10 @@ return {
|
|||
|
||||
['@comment'] = { fg = c.fg_weaker, italic = true, bold = true },
|
||||
['@comment.documentation'] = { fg = c.fg_weak, italic = true },
|
||||
['@comment.error'] = { fg = c.alert_strong, bold = true },
|
||||
['@comment.warning'] = { fg = c.alert, bold = true },
|
||||
['@comment.todo'] = { fg = c.alert_strong },
|
||||
['@comment.note'] = { fg = c.alert_weak },
|
||||
['@comment.error'] = { fg = c.diag_error, bold = true },
|
||||
['@comment.warning'] = { fg = c.diag_warn, bold = true },
|
||||
['@comment.todo'] = { fg = c.diag_error },
|
||||
['@comment.note'] = { fg = c.diag_weak },
|
||||
|
||||
-- ============================================================================
|
||||
-- Markup (Markdown, etc.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue