summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-14 02:04:42 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-14 02:04:42 +0200
commite48c27a539cc20f58b862439b6f2cfb2919e33a4 (patch)
tree7a845cbd4a92502886c0d489e4ac4230be030444
parentf420c31bf4c51ef1674a6f02878f80c229cfcc46 (diff)
Add nil value for sp
-rw-r--r--lua/no-clown-fiesta/highlight-group/lsp.lua12
1 files changed, 6 insertions, 6 deletions
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" },