Remove background colors from virtual text diagnostics
Updated LSP diagnostic virtual text settings to remove background colors for better visibility and consistency.
This commit is contained in:
parent
6540e4cee4
commit
b0a172647a
|
|
@ -13,28 +13,28 @@ return {
|
|||
DiagnosticUnderlineError = { sp = c.alert_strong, undercurl = true },
|
||||
DiagnosticSignError = { fg = c.alert_strong, bg = c.bg },
|
||||
DiagnosticFloatingError = { fg = c.alert_strong },
|
||||
DiagnosticVirtualTextError = { fg = c.alert_strong, bg = c.bg_error_weak },
|
||||
DiagnosticVirtualTextError = { fg = c.alert_strong }, -- No background
|
||||
|
||||
-- Warning diagnostics (orange)
|
||||
DiagnosticWarn = { fg = c.alert }, -- Orange-red #d75f00
|
||||
DiagnosticUnderlineWarn = { sp = c.alert, undercurl = true },
|
||||
DiagnosticSignWarn = { fg = c.alert, bg = c.bg },
|
||||
DiagnosticFloatingWarn = { fg = c.alert },
|
||||
DiagnosticVirtualTextWarn = { fg = c.alert, bg = c.bg_fail },
|
||||
DiagnosticVirtualTextWarn = { fg = c.alert }, -- No background
|
||||
|
||||
-- Info diagnostics (blue)
|
||||
DiagnosticInfo = { fg = c.modified }, -- Blue #8989af
|
||||
DiagnosticUnderlineInfo = { sp = c.modified, underline = true },
|
||||
DiagnosticSignInfo = { fg = c.modified, bg = c.bg },
|
||||
DiagnosticFloatingInfo = { fg = c.modified },
|
||||
DiagnosticVirtualTextInfo = { fg = c.modified, bg = c.bg_modified },
|
||||
DiagnosticVirtualTextInfo = { fg = c.modified }, -- No background
|
||||
|
||||
-- Hint diagnostics (green)
|
||||
DiagnosticHint = { fg = c.success }, -- Green #89af89
|
||||
DiagnosticUnderlineHint = { sp = c.success, underline = true },
|
||||
DiagnosticSignHint = { fg = c.success, bg = c.bg },
|
||||
DiagnosticFloatingHint = { fg = c.success },
|
||||
DiagnosticVirtualTextHint = { fg = c.success, bg = c.bg_success },
|
||||
DiagnosticVirtualTextHint = { fg = c.success }, -- No background
|
||||
|
||||
-- ============================================================================
|
||||
-- LSP References (document highlight)
|
||||
|
|
|
|||
Loading…
Reference in New Issue