summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-14 02:45:26 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-14 02:45:26 +0200
commit91dfbf7e5147b58c1d0713e28f1b2dbd8a09fcb0 (patch)
treeaed5d4a0e648c56f3d82a517d2e5ff81f90bb249 /lua
parent0fa14d474fb993dd509a214dfd282db1ea0c621e (diff)
Set style to nil for underline
Diffstat (limited to 'lua')
-rw-r--r--lua/no-clown-fiesta/highlight-group/lsp.lua15
1 files 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" },