Skip to content

Commit

Permalink
use same as GitHub UI
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Dec 11, 2024
1 parent de1acec commit eb194b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/octo/ui/writers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1338,9 +1338,9 @@ function M.write_renamed_title_event(bufnr, item)
item.actor.login,
item.actor.login == vim.g.octo_viewer and "OctoUserViewer" or "OctoUser",
})
table.insert(vt, { " renamed from ", "OctoTimelineItemHeading" })
table.insert(vt, { item.previousTitle, "OctoDetailsLabel" })
table.insert(vt, { " to ", "OctoTimelineItemHeading" })
table.insert(vt, { " changed the title ", "OctoTimelineItemHeading" })
table.insert(vt, { item.previousTitle, "OctoStrikethrough" })
table.insert(vt, { " ", "OctoTimelineItemHeading" })
table.insert(vt, { item.currentTitle, "OctoDetailsLabel" })
table.insert(vt, { " " .. utils.format_date(item.createdAt), "OctoDate" })
write_event(bufnr, vt)
Expand Down

0 comments on commit eb194b1

Please sign in to comment.