From 91dfbf7e5147b58c1d0713e28f1b2dbd8a09fcb0 Mon Sep 17 00:00:00 2001
From: Gustaf Rydholm <gustaf.rydholm@gmail.com>
Date: Fri, 14 Oct 2022 02:45:26 +0200
Subject: Set style to nil for underline

---
 lua/no-clown-fiesta/highlight-group/lsp.lua | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua
index ef07a68..74eb448 100644
--- a/lua/no-clown-fiesta/highlight-group/lsp.lua
+++ b/lua/no-clown-fiesta/highlight-group/lsp.lua
@@ -33,18 +33,19 @@ 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 = { style = nil },
+    LspDiagnosticsUnderlineInformation = { style = nil },
+    LspDiagnosticsUnderlineInfo = { style = nil },
+    LspDiagnosticsUnderlineHint = { style = nil },
     DiagnosticsUnderlineError = {
       style = "underline",
     },
-    DiagnosticsUnderlineWarn = { style = "NONE" },
-    DiagnosticsUnderlineInfo = { style = "NONE" },
-    DiagnosticsUnderlineHint = { style = "NONE" },
+    DiagnosticsUnderlineWarn = { style = nil },
+    DiagnosticsUnderlineInfo = { style = nil },
+    DiagnosticsUnderlineHint = { style = nil },
     LspReferenceRead = { bg = "#36383F" },
     LspReferenceText = { bg = "#36383F" },
     LspReferenceWrite = { bg = "#36383f" },
-- 
cgit v1.2.3-70-g09d2