From 42b2cd63272593a2e79bf7c381c7835ea7d03ae6 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 15 Oct 2022 00:22:55 +0200 Subject: Try undercurl again --- lua/no-clown-fiesta/highlight-group/lsp.lua | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'lua/no-clown-fiesta/highlight-group') diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua index ef07a68..825c041 100644 --- a/lua/no-clown-fiesta/highlight-group/lsp.lua +++ b/lua/no-clown-fiesta/highlight-group/lsp.lua @@ -33,18 +33,26 @@ function M.highlight(palette) LspDiagnosticsInfo = { fg = palette.info_yellow }, LspDiagnosticsHint = { fg = palette.hint_blue }, LspDiagnosticsUnderlineError = { + sp = palette.error_red, style = "undercurl", }, - LspDiagnosticsUnderlineWarning = { style = "NONE" }, - LspDiagnosticsUnderlineInformation = { style = "NONE" }, - LspDiagnosticsUnderlineInfo = { style = "NONE" }, - LspDiagnosticsUnderlineHint = { style = "NONE" }, + LspDiagnosticsUnderlineWarning = { + sp = palette.warning_orange, + style = "undercurl", + }, + LspDiagnosticsUnderlineInformation = { + sp = palette.hint_blue, + style = "undercurl", + }, + LspDiagnosticsUnderlineInfo = { sp = palette.hint_blue, style = "undercurl" }, + LspDiagnosticsUnderlineHint = { sp = palette.hint_blue, style = "undercurl" }, DiagnosticsUnderlineError = { + sp = palette.error_red, style = "underline", }, - DiagnosticsUnderlineWarn = { style = "NONE" }, - DiagnosticsUnderlineInfo = { style = "NONE" }, - DiagnosticsUnderlineHint = { style = "NONE" }, + DiagnosticsUnderlineWarn = { sp = palette.warning_orange, style = "undercurl" }, + DiagnosticsUnderlineInfo = { sp = palette.hint_blue, style = "undercurl" }, + DiagnosticsUnderlineHint = { sp = palette.hint_blue, style = "undercurl" }, LspReferenceRead = { bg = "#36383F" }, LspReferenceText = { bg = "#36383F" }, LspReferenceWrite = { bg = "#36383f" }, -- cgit v1.2.3-70-g09d2