From bdac891487918f3e6964c9a7ab6589652e6bdd84 Mon Sep 17 00:00:00 2001 From: Niverton Date: Sat, 27 Jul 2024 13:18:53 +0200 Subject: [PATCH] feat(lsp): diagnostics use colored bg --- lua/astrobox/highlights/modules/syntax.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/astrobox/highlights/modules/syntax.lua b/lua/astrobox/highlights/modules/syntax.lua index 28ce3d9..5ef7864 100644 --- a/lua/astrobox/highlights/modules/syntax.lua +++ b/lua/astrobox/highlights/modules/syntax.lua @@ -42,10 +42,10 @@ return function(theme, palette) DiagnosticHint = theme.msg.hint, DiagnosticInfo = theme.msg.info, DiagnosticWarn = theme.msg.warning, - DiagnosticUnderlineError = { sp = palette.red, undercurl = true }, - DiagnosticUnderlineHint = { sp = palette.aqua, undercurl = true }, - DiagnosticUnderlineInfo = { sp = palette.blue, undercurl = true }, - DiagnosticUnderlineWarn = { sp = palette.yellow, undercurl = true }, + DiagnosticUnderlineError = { sp = palette.red, bg = palette.colored_backgrounds.red }, + DiagnosticUnderlineHint = { sp = palette.aqua, bg = palette.colored_backgrounds.aqua }, + DiagnosticUnderlineInfo = { sp = palette.blue, bg = palette.colored_backgrounds.blue }, + DiagnosticUnderlineWarn = { sp = palette.yellow, bg = palette.colored_backgrounds.yellow }, LspInlayHint = theme.conceal, LspCodeLens = { link = "LspInlayHint" }, LspCodeLensSeparator = { link = "LspCodeLens" },