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
|
|
@ -92,26 +92,33 @@ M.qf_info = {'#5f8faf', 196, 'white'} -- Info (muted blue)
|
||||||
M.qf_hint = {'#5fafaf', 196, 'white'} -- Hint (lighter 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
|
-- These colors are designed to be NOTICED, not blend in with code
|
||||||
-- Fluorescent/neon aesthetic similar to bg_hl_special_alt colors
|
-- Fluorescent/neon aesthetic similar to bg_hl_special_alt colors
|
||||||
-- Think "highlighter marker" - bright, synthetic, stands out on white paper
|
-- 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_error = {'#ff0066', 197, 'red'} -- Hot pink-red (screams "error!")
|
||||||
M.diag_warn = {'#ff6600', 202, 'red'} -- Fluorescent orange (warnings)
|
M.diag_warn = {'#ff6600', 202, 'red'} -- Fluorescent orange (warnings)
|
||||||
M.diag_info = {'#00ccff', 45, 'cyan'} -- Bright fluorescent cyan (info - more prominent)
|
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 = {'#66e0ff', 81, 'cyan'} -- Softer fluorescent cyan (hint - less prominent)
|
||||||
M.diag_hint_dark = {'#0099cc', 38, 'cyan'} -- Darker cyan for UI elements (readable on white)
|
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_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_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_info = {'#e6f9ff', 195, 'white'} -- Very light cyan (for info backgrounds)
|
||||||
M.bg_diag_hint = {'#f0fcff', 195, 'white'} -- Very light cyan (for hint 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)
|
-- Primary Accent Colors (brownish-red tones)
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
|
||||||
|
|
@ -94,17 +94,20 @@ return {
|
||||||
-- Spelling
|
-- Spelling
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
SpellBad = { fg = c.alert_strong, bg = c.bg_error_weak },
|
-- Spelling errors: normal text color with bright colored underline
|
||||||
SpellCap = { fg = c.alert, bg = c.bg_error_weak },
|
-- sp (special) sets the underline color, separate from text foreground
|
||||||
SpellLocal = { fg = c.alert_weak, bg = c.bg_error_weak },
|
-- Both underline and undercurl for terminal compatibility
|
||||||
SpellRare = { fg = c.alert_weak, bg = c.bg_error_weak },
|
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
|
-- Messages & Prompts
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
ErrorMsg = { fg = c.alert, bold = true },
|
ErrorMsg = { fg = c.diag_error, bold = true },
|
||||||
WarningMsg = { fg = c.alert, bold = true },
|
WarningMsg = { fg = c.diag_warn, bold = true },
|
||||||
Question = { fg = c.question, bold = true },
|
Question = { fg = c.question, bold = true },
|
||||||
ModeMsg = { fg = c.question },
|
ModeMsg = { fg = c.question },
|
||||||
MoreMsg = { fg = c.question },
|
MoreMsg = { fg = c.question },
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ return {
|
||||||
CmpItemKindText = { fg = c.fg },
|
CmpItemKindText = { fg = c.fg },
|
||||||
CmpItemKindFile = { fg = c.fg },
|
CmpItemKindFile = { fg = c.fg },
|
||||||
CmpItemKindFolder = { fg = c.fg_strong },
|
CmpItemKindFolder = { fg = c.fg_strong },
|
||||||
CmpItemKindColor = { fg = c.alert },
|
CmpItemKindColor = { fg = c.diag_warn },
|
||||||
CmpItemKindUnit = { fg = c.fg_weak },
|
CmpItemKindUnit = { fg = c.fg_weak },
|
||||||
CmpItemKindValue = { fg = c.fg_strong },
|
CmpItemKindValue = { fg = c.fg_strong },
|
||||||
CmpItemKindConstant = { fg = c.fg_strong },
|
CmpItemKindConstant = { fg = c.fg_strong },
|
||||||
|
|
@ -109,7 +109,7 @@ return {
|
||||||
OilSize = { fg = c.fg_weak },
|
OilSize = { fg = c.fg_weak },
|
||||||
OilPermissionNone = { fg = c.fg_weaker },
|
OilPermissionNone = { fg = c.fg_weaker },
|
||||||
OilPermissionRead = { fg = c.success },
|
OilPermissionRead = { fg = c.success },
|
||||||
OilPermissionWrite = { fg = c.alert },
|
OilPermissionWrite = { fg = c.diag_warn },
|
||||||
OilPermissionExecute = { fg = c.modified },
|
OilPermissionExecute = { fg = c.modified },
|
||||||
OilCopy = { fg = c.success, bold = true },
|
OilCopy = { fg = c.success, bold = true },
|
||||||
OilMove = { fg = c.modified, bold = true },
|
OilMove = { fg = c.modified, bold = true },
|
||||||
|
|
@ -117,7 +117,7 @@ return {
|
||||||
OilDelete = { fg = c.fail, bold = true },
|
OilDelete = { fg = c.fail, bold = true },
|
||||||
OilChange = { fg = c.modified, bold = true },
|
OilChange = { fg = c.modified, bold = true },
|
||||||
OilRestore = { fg = c.success },
|
OilRestore = { fg = c.success },
|
||||||
OilPurge = { fg = c.alert_strong, bold = true },
|
OilPurge = { fg = c.diag_error, bold = true },
|
||||||
OilTrash = { fg = c.fail },
|
OilTrash = { fg = c.fail },
|
||||||
OilTrashSourcePath = { fg = c.fg_weak, italic = true },
|
OilTrashSourcePath = { fg = c.fg_weak, italic = true },
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,8 +76,8 @@ return {
|
||||||
|
|
||||||
Underlined = { underline = true },
|
Underlined = { underline = true },
|
||||||
Ignore = { fg = c.fg_weak },
|
Ignore = { fg = c.fg_weak },
|
||||||
Error = { fg = c.alert_strong, bold = true },
|
Error = { fg = c.diag_error, bold = true },
|
||||||
Todo = { fg = c.alert_strong },
|
Todo = { fg = c.diag_error },
|
||||||
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- Language-Specific: CSS
|
-- Language-Specific: CSS
|
||||||
|
|
|
||||||
|
|
@ -101,10 +101,10 @@ return {
|
||||||
|
|
||||||
['@comment'] = { fg = c.fg_weaker, italic = true, bold = true },
|
['@comment'] = { fg = c.fg_weaker, italic = true, bold = true },
|
||||||
['@comment.documentation'] = { fg = c.fg_weak, italic = true },
|
['@comment.documentation'] = { fg = c.fg_weak, italic = true },
|
||||||
['@comment.error'] = { fg = c.alert_strong, bold = true },
|
['@comment.error'] = { fg = c.diag_error, bold = true },
|
||||||
['@comment.warning'] = { fg = c.alert, bold = true },
|
['@comment.warning'] = { fg = c.diag_warn, bold = true },
|
||||||
['@comment.todo'] = { fg = c.alert_strong },
|
['@comment.todo'] = { fg = c.diag_error },
|
||||||
['@comment.note'] = { fg = c.alert_weak },
|
['@comment.note'] = { fg = c.diag_weak },
|
||||||
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- Markup (Markdown, etc.)
|
-- Markup (Markdown, etc.)
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ vim.opt.pumblend = 0 -- No transparency
|
||||||
|
|
||||||
-- Spelling
|
-- Spelling
|
||||||
vim.opt.spelllang = { "en_gb" }
|
vim.opt.spelllang = { "en_gb" }
|
||||||
|
vim.opt.spelloptions = { "camel,noplainbuffer" }
|
||||||
|
|
||||||
-- Search behavior
|
-- Search behavior
|
||||||
vim.opt.ignorecase = true -- Case-insensitive search by default
|
vim.opt.ignorecase = true -- Case-insensitive search by default
|
||||||
|
|
|
||||||
|
|
@ -775,3 +775,6 @@ Hostinger's
|
||||||
hPanel
|
hPanel
|
||||||
reauthoring
|
reauthoring
|
||||||
dropdowns
|
dropdowns
|
||||||
|
contenteditable
|
||||||
|
#uer/!
|
||||||
|
suer/!
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue