fix: diagnostic sign different bg
This commit is contained in:
@@ -175,6 +175,11 @@ local function generate(p, opt)
|
|||||||
DiagnosticInfo { fg = p.water },
|
DiagnosticInfo { fg = p.water },
|
||||||
DiagnosticHint { fg = p.blossom },
|
DiagnosticHint { fg = p.blossom },
|
||||||
|
|
||||||
|
DiagnosticSignError { LineNr, fg = DiagnosticError.fg },
|
||||||
|
DiagnosticSignWarn { LineNr, fg = DiagnosticWarn.fg },
|
||||||
|
DiagnosticSignInfo { LineNr, fg = DiagnosticInfo.fg },
|
||||||
|
DiagnosticSignHint { LineNr, fg = DiagnosticHint.fg },
|
||||||
|
|
||||||
DiagnosticVirtualTextError { DiagnosticError, bg = p.rose.saturation(12).lightness(Normal.bg.l + 2) },
|
DiagnosticVirtualTextError { DiagnosticError, bg = p.rose.saturation(12).lightness(Normal.bg.l + 2) },
|
||||||
DiagnosticVirtualTextWarn { DiagnosticWarn, bg = p.wood.saturation(12).lightness(Normal.bg.l + 2) },
|
DiagnosticVirtualTextWarn { DiagnosticWarn, bg = p.wood.saturation(12).lightness(Normal.bg.l + 2) },
|
||||||
|
|
||||||
|
|||||||
@@ -175,6 +175,11 @@ local function generate(p, opt)
|
|||||||
DiagnosticInfo { fg = p.water },
|
DiagnosticInfo { fg = p.water },
|
||||||
DiagnosticHint { fg = p.blossom },
|
DiagnosticHint { fg = p.blossom },
|
||||||
|
|
||||||
|
DiagnosticSignError { LineNr, fg = DiagnosticError.fg },
|
||||||
|
DiagnosticSignWarn { LineNr, fg = DiagnosticWarn.fg },
|
||||||
|
DiagnosticSignInfo { LineNr, fg = DiagnosticInfo.fg },
|
||||||
|
DiagnosticSignHint { LineNr, fg = DiagnosticHint.fg },
|
||||||
|
|
||||||
DiagnosticVirtualTextError { DiagnosticError, bg = p.rose.saturation(52).lightness(Normal.bg.l - 4) },
|
DiagnosticVirtualTextError { DiagnosticError, bg = p.rose.saturation(52).lightness(Normal.bg.l - 4) },
|
||||||
DiagnosticVirtualTextWarn { DiagnosticWarn, bg = p.wood.saturation(52).lightness(Normal.bg.l - 4)},
|
DiagnosticVirtualTextWarn { DiagnosticWarn, bg = p.wood.saturation(52).lightness(Normal.bg.l - 4)},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user