Make diagnostics more subtle
This commit is contained in:
parent
e55dfcf1b7
commit
ef425d3ad1
1 changed files with 5 additions and 4 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue