From d68b03f990d073078435bc563d0de938412eb580 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Thu, 26 Aug 2021 11:49:57 +0800 Subject: [PATCH] improve lsp highlight --- lua/lush_theme/zenbones.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/lush_theme/zenbones.lua b/lua/lush_theme/zenbones.lua index bf97832..ae8d834 100644 --- a/lua/lush_theme/zenbones.lua +++ b/lua/lush_theme/zenbones.lua @@ -199,17 +199,17 @@ local theme = lush(function() -- use these groups, or use their own. Consult your LSP client's -- documentation. - -- LspReferenceText { }, -- used for highlighting "text" references - -- LspReferenceRead { }, -- used for highlighting "read" references - -- LspReferenceWrite { }, -- used for highlighting "write" references + LspReferenceText { ColorColumn }, -- used for highlighting "text" references + LspReferenceRead { ColorColumn }, -- used for highlighting "read" references + LspReferenceWrite { ColorColumn }, -- used for highlighting "write" references LspDiagnosticsDefaultError { Error }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultWarning { WarningMsg }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultInformation { fg = water }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultHint { fg = blossom }, -- 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 + LspDiagnosticsVirtualTextError { LspDiagnosticsDefaultError, bg = rose.abs_de(42).li(82) }, -- Used for "Error" diagnostic virtual text + LspDiagnosticsVirtualTextWarning { LspDiagnosticsDefaultWarning, bg = wood.de(48).li(84) }, -- Used for "Warning" diagnostic virtual text -- LspDiagnosticsVirtualTextInformation { }, -- Used for "Information" diagnostic virtual text -- LspDiagnosticsVirtualTextHint { }, -- Used for "Hint" diagnostic virtual text