feat(lsp): diagnostics use colored bg

This commit is contained in:
2024-07-27 13:18:53 +02:00
parent 2f2a7595a9
commit bdac891487

View File

@@ -42,10 +42,10 @@ return function(theme, palette)
DiagnosticHint = theme.msg.hint, DiagnosticHint = theme.msg.hint,
DiagnosticInfo = theme.msg.info, DiagnosticInfo = theme.msg.info,
DiagnosticWarn = theme.msg.warning, DiagnosticWarn = theme.msg.warning,
DiagnosticUnderlineError = { sp = palette.red, undercurl = true }, DiagnosticUnderlineError = { sp = palette.red, bg = palette.colored_backgrounds.red },
DiagnosticUnderlineHint = { sp = palette.aqua, undercurl = true }, DiagnosticUnderlineHint = { sp = palette.aqua, bg = palette.colored_backgrounds.aqua },
DiagnosticUnderlineInfo = { sp = palette.blue, undercurl = true }, DiagnosticUnderlineInfo = { sp = palette.blue, bg = palette.colored_backgrounds.blue },
DiagnosticUnderlineWarn = { sp = palette.yellow, undercurl = true }, DiagnosticUnderlineWarn = { sp = palette.yellow, bg = palette.colored_backgrounds.yellow },
LspInlayHint = theme.conceal, LspInlayHint = theme.conceal,
LspCodeLens = { link = "LspInlayHint" }, LspCodeLens = { link = "LspInlayHint" },
LspCodeLensSeparator = { link = "LspCodeLens" }, LspCodeLensSeparator = { link = "LspCodeLens" },