Skip to content

Commit

Permalink
remove space from author bubble in PR review heading
Browse files Browse the repository at this point in the history
  • Loading branch information
macovsky committed Nov 2, 2024
1 parent f09ff94 commit c96db64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/octo/ui/writers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,10 @@ function M.write_comment(bufnr, comment, kind, line)
table.insert(header_vt, { "REVIEW: ", "OctoTimelineItemHeading" })
--vim.list_extend(header_vt, author_bubble)
table.insert(header_vt, {
comment.author.login .. " ",
comment.author.login,
comment.viewerDidAuthor and "OctoUserViewer" or "OctoUser",
})
table.insert(header_vt, { " ", "OctoTimelineItemHeading" })
vim.list_extend(header_vt, state_bubble)
table.insert(header_vt, { " " .. utils.format_date(comment.createdAt), "OctoDate" })
if not comment.viewerCanUpdate then
Expand Down

0 comments on commit c96db64

Please sign in to comment.