summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-14 02:30:50 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-14 02:30:50 +0200
commit98746336176bdccbc893268779671850137e111a (patch)
tree34ff16d97e49b30c1342af43f07e075e1564deb8
parenta92df8e358afdea7998f8b26152e7c8fe70a5092 (diff)
Test setting sp to nil
-rw-r--r--lua/no-clown-fiesta/highlight-group/lsp.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua
index dca5d96..c6ff57b 100644
--- a/lua/no-clown-fiesta/highlight-group/lsp.lua
+++ b/lua/no-clown-fiesta/highlight-group/lsp.lua
@@ -38,9 +38,9 @@ function M.highlight(palette)
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" },
+ LspDiagnosticsUnderlineWarning = { sp = nil, bg = "NONE", style = "NONE" },
+ LspDiagnosticsUnderlineInformation = { sp = nil, bg = "NONE", style = "NONE" },
+ LspDiagnosticsUnderlineInfo = { sp = nil, bg = "NONE", style = "NONE" },
LspDiagnosticsUnderlineHint = { fg = "NONE", bg = "NONE", style = "NONE" },
DiagnosticsUnderlineError = {
fg = "NONE",
@@ -49,7 +49,7 @@ function M.highlight(palette)
style = "underline",
},
DiagnosticsUnderlineWarn = { fg = "NONE", bg = "NONE", style = "NONE" },
- DiagnosticsUnderlineInfo = { fg = "NONE", bg = "NONE", style = "NONE" },
+ DiagnosticsUnderlineInfo = { sp = nil, bg = "NONE", style = "NONE" },
DiagnosticsUnderlineHint = { fg = "NONE", bg = "NONE", style = "NONE" },
LspReferenceRead = { bg = "#36383F" },
LspReferenceText = { bg = "#36383F" },