summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--colors/matugen.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/colors/matugen.lua b/colors/matugen.lua
index 288647f..c3a5b4e 100644
--- a/colors/matugen.lua
+++ b/colors/matugen.lua
@@ -81,3 +81,11 @@ end
base46.load(theme_name)
vim.g.colors_name = theme_name
+
+for _, level in ipairs({ "Error", "Warn", "Info", "Hint" }) do
+ local hl_name = "DiagnosticUnderline" .. level
+ local hl = vim.api.nvim_get_hl(0, { name = hl_name, link = false })
+ hl.undercurl = true
+ hl.underline = nil
+ vim.api.nvim_set_hl(0, hl_name, hl)
+end