From dacf1119682517a9c60bedc1b6e5d1c2fe1fd8bf Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Tue, 25 Mar 2025 22:13:20 +0100 Subject: [PATCH] Make diagnostic text more subtle while keeping error and warnings brighter --- lua/gruvbox.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lua/gruvbox.lua b/lua/gruvbox.lua index cfdabc4..c19ee27 100644 --- a/lua/gruvbox.lua +++ b/lua/gruvbox.lua @@ -144,8 +144,8 @@ M.highlights = function() Underlined = { underline = true }, Ignore = { }, Todo = { fg = C.purple, bold = true }, - Error = { fg = C.dim_red }, - Warning = { fg = C.dim_yellow}, + Error = { fg = C.red }, + Warning = { fg = C.yellow}, Information = { fg = C.blue }, Hint = { fg = C.fg4 }, }, @@ -221,6 +221,16 @@ M.highlights = function() DiagnosticError = { link = 'Error' }, DiagnosticInfo = { link = 'Information' }, DiagnosticHint = { link = 'Hint' }, + + DiagnosticVirtualTextWarn = { fg = C.dim_yellow }, + DiagnosticVirtualTextError = { fg = C.dim_red }, + DiagnosticVirtualTextInfo = { fg = C.dim_blue }, + DiagnosticVirtualTextHint = { fg = C.gray }, + + DiagnosticSignWarn = { link = 'DiagnosticVirtualTextWarn' }, + DiagnosticSignError = { link = 'DiagnosticVirtualTextError' }, + DiagnosticSignInfo = { link = 'DiagnosticVirtualTextInfo' }, + DiagnosticSignHint = { link = 'DiagnosticVirtualTextHint' }, }, pum = {