diff --git a/lua/octo/commands.lua b/lua/octo/commands.lua index 3309c66d..1590a1ef 100644 --- a/lua/octo/commands.lua +++ b/lua/octo/commands.lua @@ -463,14 +463,14 @@ function M.add_comment() viewerCanDelete = true, viewerDidAuthor = true, reactionGroups = { - { content = "THUMBS_UP", users = { totalCount = 0 } }, + { content = "THUMBS_UP", users = { totalCount = 0 } }, { content = "THUMBS_DOWN", users = { totalCount = 0 } }, - { content = "LAUGH", users = { totalCount = 0 } }, - { content = "HOORAY", users = { totalCount = 0 } }, - { content = "CONFUSED", users = { totalCount = 0 } }, - { content = "HEART", users = { totalCount = 0 } }, - { content = "ROCKET", users = { totalCount = 0 } }, - { content = "EYES", users = { totalCount = 0 } }, + { content = "LAUGH", users = { totalCount = 0 } }, + { content = "HOORAY", users = { totalCount = 0 } }, + { content = "CONFUSED", users = { totalCount = 0 } }, + { content = "HEART", users = { totalCount = 0 } }, + { content = "ROCKET", users = { totalCount = 0 } }, + { content = "EYES", users = { totalCount = 0 } }, }, } @@ -869,12 +869,12 @@ function M.create_pr(is_draft) -- get remote branches if - info == nil - or info.refs == nil - or info.refs.nodes == nil - or info == vim.NIL - or info.refs == vim.NIL - or info.refs.nodes == vim.NIL + info == nil + or info.refs == nil + or info.refs.nodes == nil + or info == vim.NIL + or info.refs == vim.NIL + or info.refs.nodes == vim.NIL then utils.error "Cannot grab remote branches" return @@ -890,7 +890,7 @@ function M.create_pr(is_draft) local remote_branch = local_branch if not remote_branch_exists then local choice = - vim.fn.confirm("Remote branch '" .. local_branch .. "' does not exist. Push local one?", "&Yes\n&No\n&Cancel", 2) + vim.fn.confirm("Remote branch '" .. local_branch .. "' does not exist. Push local one?", "&Yes\n&No\n&Cancel", 2) if choice == 1 then local remote = "origin" remote_branch = vim.fn.input { diff --git a/lua/octo/config.lua b/lua/octo/config.lua index e91681f3..b584043d 100644 --- a/lua/octo/config.lua +++ b/lua/octo/config.lua @@ -152,8 +152,8 @@ function M.get_default_values() in_progress = "🔄", failed = "❌", succeeded = "✅", - skipped = "⏩" - } + skipped = "⏩", + }, }, pull_requests = { order_by = { @@ -184,7 +184,7 @@ function M.get_default_values() mappings = { runs = { open = { lhs = "o", desc = "view workflow run" }, - refresh = { lhs = "r", desc = "refresh workflow runs list" } + refresh = { lhs = "r", desc = "refresh workflow runs list" }, }, issue = { close_issue = { lhs = "ic", desc = "close issue" },