diff --git a/lua/snacks/gh/render/init.lua b/lua/snacks/gh/render/init.lua index a10ed73c..0f3490e7 100644 --- a/lua/snacks/gh/render/init.lua +++ b/lua/snacks/gh/render/init.lua @@ -351,7 +351,7 @@ end function M.comment_header(comment, opts, ctx) opts = opts or {} local ret = {} ---@type snacks.picker.Highlight[] - local is_bot = comment.author.login == "github-actions" + local is_bot = comment.author.login == "github-actions" or comment.author.login:find("copilot") extend( ret, h.badge(