summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-15 00:22:55 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-15 00:22:55 +0200
commit42b2cd63272593a2e79bf7c381c7835ea7d03ae6 (patch)
treeb0d9a4dcf23b24e716cd54dee8be607626490829
parent8121e36c18da58374cdbc7f89d042973673ac4d6 (diff)
Try undercurl again
-rw-r--r--lua/no-clown-fiesta/highlight-group/lsp.lua22
1 files changed, 15 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..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" },