fix(ui): properly highlight breaking change commit scope (#1160)

This commit is contained in:
Riley Bruins 2023-11-04 03:05:02 -07:00 committed by GitHub
parent 32dead0376
commit 3674036a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ function M:log(task)
self:append(vim.trim(msg), dimmed and "LazyDimmed" or nil):highlight({ self:append(vim.trim(msg), dimmed and "LazyDimmed" or nil):highlight({
["#%d+"] = "LazyCommitIssue", ["#%d+"] = "LazyCommitIssue",
["^%S+:"] = dimmed and "Bold" or "LazyCommitType", ["^%S+:"] = dimmed and "Bold" or "LazyCommitType",
["^%S+(%(.*%)):"] = "LazyCommitScope", ["^%S+(%(.*%))!?:"] = "LazyCommitScope",
["`.-`"] = "@text.literal.markdown_inline", ["`.-`"] = "@text.literal.markdown_inline",
["%*.-%*"] = "Italic", ["%*.-%*"] = "Italic",
["%*%*.-%*%*"] = "Bold", ["%*%*.-%*%*"] = "Bold",