Make diagnostics more subtle

This commit is contained in:
Fernando Schauenburg 2025-03-19 18:56:03 +01:00
parent e55dfcf1b7
commit ef425d3ad1

View file

@ -72,6 +72,7 @@ M.colors = function()
for _, accent in ipairs({'red', 'green', 'yellow', 'blue', 'purple', 'aqua', 'orange'}) do for _, accent in ipairs({'red', 'green', 'yellow', 'blue', 'purple', 'aqua', 'orange'}) do
palette[accent] = c[accent] palette[accent] = c[accent]
palette['dim_' .. accent] = c[accent .. '_' .. (is_dark and 'darker' or 'lighter')]
palette['br_' .. accent] = c[accent .. '_' .. (is_dark and 'lighter' or 'darker')] palette['br_' .. accent] = c[accent .. '_' .. (is_dark and 'lighter' or 'darker')]
palette[accent .. '_bg'] = c[accent .. '_' .. (is_dark and 'darkest' or 'lightest')] palette[accent .. '_bg'] = c[accent .. '_' .. (is_dark and 'darkest' or 'lightest')]
end end
@ -134,10 +135,10 @@ M.highlights = function()
Underlined = { underline = true }, Underlined = { underline = true },
Ignore = { }, Ignore = { },
Todo = { fg = C.purple, bold = true }, Todo = { fg = C.purple, bold = true },
Error = { fg = C.red }, Error = { fg = C.dim_red },
Warning = { fg = C.yellow}, Warning = { fg = C.dim_yellow},
Information = { fg = C.br_blue }, Information = { fg = C.blue },
Hint = { fg = C.fg0 }, Hint = { fg = C.fg4 },
}, },
additional = { additional = {