From 6ebd35868fbdb8f5a3c5009d5d7a72ed7da2143c Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 18 Apr 2023 10:02:34 +0200 Subject: [PATCH] feat: better style for DiagnosticUnnecessary --- lua/tokyonight/theme.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 90e093e..d2c202c 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -178,6 +178,7 @@ function M.setup() DiagnosticWarn = { fg = c.warning }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default DiagnosticInfo = { fg = c.info }, -- 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 DiagnosticVirtualTextError = { bg = util.darken(c.error, 0.1), 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