From 3674036a59a6a4a65559343d606a92145a782533 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Sat, 4 Nov 2023 03:05:02 -0700 Subject: [PATCH] fix(ui): properly highlight breaking change commit scope (#1160) --- lua/lazy/view/render.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index c79be62..7487056 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -475,7 +475,7 @@ function M:log(task) self:append(vim.trim(msg), dimmed and "LazyDimmed" or nil):highlight({ ["#%d+"] = "LazyCommitIssue", ["^%S+:"] = dimmed and "Bold" or "LazyCommitType", - ["^%S+(%(.*%)):"] = "LazyCommitScope", + ["^%S+(%(.*%))!?:"] = "LazyCommitScope", ["`.-`"] = "@text.literal.markdown_inline", ["%*.-%*"] = "Italic", ["%*%*.-%*%*"] = "Bold",