diff options
| author | beeb5k <beebeeb5k@gmail.com> | 2026-09-02 20:53:16 +0530 |
|---|---|---|
| committer | beeb5k <beebeeb5k@gmail.com> | 2026-09-02 20:53:16 +0530 |
| commit | c9f38875ccf722677e5a311b4b1c445d1a1e82f4 (patch) | |
| tree | 473448f97f4b334016195a1fb642dbe4fc80b60a /colors | |
| parent | 220899a1d0c4a39f01f9f43bd71b4c6af41f7a85 (diff) | |
undercurls for matugen colorscheme
Diffstat (limited to 'colors')
| -rw-r--r-- | colors/matugen.lua | 8 |
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 |
