From c9f38875ccf722677e5a311b4b1c445d1a1e82f4 Mon Sep 17 00:00:00 2001 From: beeb5k Date: Wed, 2 Sep 2026 20:53:16 +0530 Subject: undercurls for matugen colorscheme --- colors/matugen.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.3.1