From 39be549ec12694206f45bad4c450a7fd98a2df00 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 4 Mar 2024 12:01:08 -0600 Subject: [PATCH] refactor(nvim): use undercurl for commit msg warning len --- dots/.config/nvim/lua/plugins/configs/kanagawa.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/kanagawa.lua b/dots/.config/nvim/lua/plugins/configs/kanagawa.lua index dc4f8a59..2f16f92d 100644 --- a/dots/.config/nvim/lua/plugins/configs/kanagawa.lua +++ b/dots/.config/nvim/lua/plugins/configs/kanagawa.lua @@ -222,8 +222,19 @@ return { { "NotificationWarning", { link = "NvimNotifyWarn" } }, { "NotificationError", { link = "NvimNotifyError" } }, + { + "@comment.warning.gitcommit", + { + undercurl = true, + sp = function() + return get_hl("@comment.warning")().bg + end, + nocombine = true, + }, + }, + -- LSP hls - { "@lsp.typemod.variable.global", { fg = colors.lightBlue }}, + { "@lsp.typemod.variable.global", { fg = colors.lightBlue } }, -- Markup specific { "@markup.raw", { fg = colors.carpYellow, bg = colors.sumiInk2 } },