From e48c27a539cc20f58b862439b6f2cfb2919e33a4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 14 Oct 2022 02:04:42 +0200 Subject: Add nil value for sp --- lua/no-clown-fiesta/highlight-group/lsp.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lua/no-clown-fiesta') diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua index cca2cc5..909fef5 100644 --- a/lua/no-clown-fiesta/highlight-group/lsp.lua +++ b/lua/no-clown-fiesta/highlight-group/lsp.lua @@ -31,12 +31,12 @@ function M.highlight(palette) LspDiagnosticsWarning = { fg = palette.warning_orange }, LspDiagnosticsInformation = { fg = palette.info_yellow }, LspDiagnosticsInfo = { fg = palette.info_yellow }, - LspDiagnosticsHint = { fg = palette.hint_blue }, - LspDiagnosticsUnderlineError = { fg = palette.error_red, style = "underline" }, - LspDiagnosticsUnderlineWarning = { style = "NONE" }, - LspDiagnosticsUnderlineInformation = { style = "NONE" }, - LspDiagnosticsUnderlineInfo = { style = "NONE" }, - LspDiagnosticsUnderlineHint = { style = "NONE" }, + LspDiagnosticsHint = { fg = palette.h }, + LspDiagnosticsUnderlineError = { sp = palette.error_red, style = "underline" }, + LspDiagnosticsUnderlineWarning = { sp = nil, style = "NONE" }, + LspDiagnosticsUnderlineInformation = { sp = nil, style = "NONE" }, + LspDiagnosticsUnderlineInfo = { sp = nil, style = "NONE" }, + LspDiagnosticsUnderlineHint = { sp = nil, style = "NONE" }, LspReferenceRead = { bg = "#36383F" }, LspReferenceText = { bg = "#36383F" }, LspReferenceWrite = { bg = "#36383f" }, -- cgit v1.2.3-70-g09d2