From a92df8e358afdea7998f8b26152e7c8fe70a5092 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 14 Oct 2022 02:27:35 +0200 Subject: Test if this fix underline problem --- lua/no-clown-fiesta/highlight-group/lsp.lua | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 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 2aefcca..dca5d96 100644 --- a/lua/no-clown-fiesta/highlight-group/lsp.lua +++ b/lua/no-clown-fiesta/highlight-group/lsp.lua @@ -32,15 +32,25 @@ function M.highlight(palette) LspDiagnosticsInformation = { fg = palette.info_yellow }, LspDiagnosticsInfo = { fg = palette.info_yellow }, LspDiagnosticsHint = { fg = palette.hint_blue }, - LspDiagnosticsUnderlineError = { sp = palette.error_red, style = "underline" }, - LspDiagnosticsUnderlineWarning = { style = "NONE" }, - LspDiagnosticsUnderlineInformation = { style = "NONE" }, - LspDiagnosticsUnderlineInfo = { style = "NONE" }, - LspDiagnosticsUnderlineHint = { style = "NONE" }, - DiagnosticsUnderlineError = { sp = palette.error_red, style = "underline" }, - DiagnosticsUnderlineWarn = { style = "NONE" }, - DiagnosticsUnderlineInfo = { style = "NONE" }, - DiagnosticsUnderlineHint = { style = "NONE" }, + LspDiagnosticsUnderlineError = { + fg = "NONE", + bg = "NONE", + sp = palette.error_red, + style = "undercurl", + }, + LspDiagnosticsUnderlineWarning = { fg = "NONE", bg = "NONE", style = "NONE" }, + LspDiagnosticsUnderlineInformation = { fg = "NONE", bg = "NONE", style = "NONE" }, + LspDiagnosticsUnderlineInfo = { fg = "NONE", bg = "NONE", style = "NONE" }, + LspDiagnosticsUnderlineHint = { fg = "NONE", bg = "NONE", style = "NONE" }, + DiagnosticsUnderlineError = { + fg = "NONE", + bg = "NONE", + sp = palette.error_red, + style = "underline", + }, + DiagnosticsUnderlineWarn = { fg = "NONE", bg = "NONE", style = "NONE" }, + DiagnosticsUnderlineInfo = { fg = "NONE", bg = "NONE", style = "NONE" }, + DiagnosticsUnderlineHint = { fg = "NONE", bg = "NONE", style = "NONE" }, LspReferenceRead = { bg = "#36383F" }, LspReferenceText = { bg = "#36383F" }, LspReferenceWrite = { bg = "#36383f" }, -- cgit v1.2.3-70-g09d2