Skip to content

Conversation

@justinmk
Copy link
Owner

No description provided.

@justinmk justinmk changed the title Testpr 🌈 TEST 💩 PR 🚀 😎 Sep 22, 2025
@justinmk
Copy link
Owner Author

hey

{ desc = 'Request PR changes', noremap = true, silent = true, callback = pr_commands.request_changes_pr }
)
end
utils.buf_keymap(buf, 'n', config.s.keymaps.diff.open_file, 'Open file', open_file_from_diff('edit'))
Copy link
Owner Author

@justinmk justinmk Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test comment line 101 diff.lua

Comment on lines +47 to +51
-- XXX fucking hack because Vim creates new buffer after (re)naming it.
bufs[feat][tostring(prnum)] = buf
return buf
-- end
end
Copy link
Owner Author

@justinmk justinmk Oct 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test comment state.lua lines 47-51

wefa
ewf
awe
fa
wef

code sample:

print('')

{ desc = 'Request PR changes', noremap = true, silent = true, callback = pr_commands.request_changes_pr }
)
end
utils.buf_keymap(buf, 'n', config.s.keymaps.diff.open_file, 'Open file', open_file_from_diff('edit'))
Copy link
Owner Author

@justinmk justinmk Oct 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test diff.lua line 101

Copy link
Owner Author

@justinmk justinmk Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another comment on diff.lua line 101


vim.bo[buf].buftype = 'nofile'
vim.bo[buf].readonly = false
vim.bo[buf].modifiable = true
Copy link
Owner Author

@justinmk justinmk Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test diff.lua line 87

buf,
'PR Diff: ' .. selected_pr.number .. ' (' .. os.date('%Y-%m-%d %H:%M:%S') .. ')'
)
buf = state.try_set_buf_name(buf, 'diff', selected_pr.number)
Copy link
Owner Author

@justinmk justinmk Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test diff.lua line 82

Comment on lines +119 to +120
M.buf_keymap(buf, 'n', key_binding, '', capture_input_and_close)
M.buf_keymap(buf, 'i', key_binding, '', capture_input_and_close)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test comment utils.lua

{ desc = 'View the PR diff', noremap = true, silent = true }
)
end
utils.buf_keymap(buf, 'n', config.s.keymaps.pr.approve, 'Approve PR', M.approve_pr)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test comment around line 200 in pr_commands.lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants