Tweak diagnostic virtual text background
This commit is contained in:
@@ -184,10 +184,10 @@ function M.setup()
|
|||||||
DiagnosticHint = { fg = c.hint }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
|
DiagnosticHint = { fg = c.hint }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
|
||||||
DiagnosticUnnecessary = { fg = c.terminal_black }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
|
DiagnosticUnnecessary = { fg = c.terminal_black }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
|
||||||
|
|
||||||
DiagnosticVirtualTextError = { bg = util.darken(c.error, 0.1), fg = c.error }, -- Used for "Error" diagnostic virtual text
|
DiagnosticVirtualTextError = { bg = util.darken(c.error, 0.05), fg = c.error }, -- Used for "Error" diagnostic virtual text
|
||||||
DiagnosticVirtualTextWarn = { bg = util.darken(c.warning, 0.1), fg = c.warning }, -- Used for "Warning" diagnostic virtual text
|
DiagnosticVirtualTextWarn = { bg = util.darken(c.warning, 0.05), fg = c.warning }, -- Used for "Warning" diagnostic virtual text
|
||||||
DiagnosticVirtualTextInfo = { bg = util.darken(c.info, 0.1), fg = c.info }, -- Used for "Information" diagnostic virtual text
|
DiagnosticVirtualTextInfo = { bg = util.darken(c.info, 0.05), fg = c.info }, -- Used for "Information" diagnostic virtual text
|
||||||
DiagnosticVirtualTextHint = { bg = util.darken(c.hint, 0.1), fg = c.hint }, -- Used for "Hint" diagnostic virtual text
|
DiagnosticVirtualTextHint = { bg = util.darken(c.hint, 0.05), fg = c.hint }, -- Used for "Hint" diagnostic virtual text
|
||||||
|
|
||||||
DiagnosticUnderlineError = { undercurl = true, sp = c.error }, -- Used to underline "Error" diagnostics
|
DiagnosticUnderlineError = { undercurl = true, sp = c.error }, -- Used to underline "Error" diagnostics
|
||||||
DiagnosticUnderlineWarn = { undercurl = true, sp = c.warning }, -- Used to underline "Warning" diagnostics
|
DiagnosticUnderlineWarn = { undercurl = true, sp = c.warning }, -- Used to underline "Warning" diagnostics
|
||||||
|
|||||||
Reference in New Issue
Block a user