From a8817d1c3611ab11341d5c42d6137cfea4d2abed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Sat, 9 Oct 2021 20:55:38 +0200 Subject: [PATCH] Update LSP highlighting groups for nvim 0.5+ --- lua/lush_theme/monotone.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lua/lush_theme/monotone.lua b/lua/lush_theme/monotone.lua index 8801233..650ab86 100644 --- a/lua/lush_theme/monotone.lua +++ b/lua/lush_theme/monotone.lua @@ -206,20 +206,20 @@ return lush(function() -- LspReferenceRead { }, -- used for highlighting "read" references -- LspReferenceWrite { }, -- used for highlighting "write" references - LspDiagnosticsDefaultError { fg = red, bg = shade(red, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - LspDiagnosticsDefaultWarning { fg = yellow, bg = shade(yellow, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - LspDiagnosticsDefaultInformation { fg = blue, bg = shade(blue, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - LspDiagnosticsDefaultHint { fg = green, bg = shade(green, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + DiagnosticError { fg = red, bg = shade(red, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + DiagnosticWarn { fg = yellow, bg = shade(yellow, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + DiagnosticInfo { fg = blue, bg = shade(blue, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + DiagnosticHint { fg = green, bg = shade(green, -78) }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) -- LspDiagnosticsVirtualTextError { }, -- Used for "Error" diagnostic virtual text -- LspDiagnosticsVirtualTextWarning { }, -- Used for "Warning" diagnostic virtual text -- LspDiagnosticsVirtualTextInformation { }, -- Used for "Information" diagnostic virtual text -- LspDiagnosticsVirtualTextHint { }, -- Used for "Hint" diagnostic virtual text - LspDiagnosticsUnderlineError { SyntaxError }, -- Used to underline "Error" diagnostics - LspDiagnosticsUnderlineWarning { SyntaxWarning }, -- Used to underline "Warning" diagnostics - LspDiagnosticsUnderlineInformation { SyntaxInfo }, -- Used to underline "Information" diagnostics - LspDiagnosticsUnderlineHint { SyntaxHint }, -- Used to underline "Hint" diagnostics + DiagnosticUnderlineError { SyntaxError }, -- Used to underline "Error" diagnostics + DiagnosticUnderlineWarn { SyntaxWarning }, -- Used to underline "Warning" diagnostics + DiagnosticUnderlineInfo { SyntaxInfo }, -- Used to underline "Information" diagnostics + DiagnosticUnderlineHint { SyntaxHint }, -- Used to underline "Hint" diagnostics -- LspDiagnosticsFloatingError { }, -- Used to color "Error" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingWarning { }, -- Used to color "Warning" diagnostic messages in diagnostics float