* Fix docs: choose_merge_request's open_reviewer default value is true (#316)
* Fix: Only set autocommands for select popups (#315)
* Docs: Small improvements to README and docs
* Feat: Add branch info to choose_merge_request menu (#318)

This is a PATCH release.
This commit is contained in:
Harrison (Harry) Cramer
2024-06-26 07:30:05 -07:00
committed by GitHub
parent 96d7e16ef7
commit 3c9d95d25b
6 changed files with 72 additions and 51 deletions

View File

@@ -25,7 +25,7 @@ M.choose_merge_request = function(opts)
vim.ui.select(state.MERGE_REQUESTS, {
prompt = "Choose Merge Request",
format_item = function(mr)
return string.format("%s (%s)", mr.title, mr.author.name)
return string.format("%s [%s -> %s] (%s)", mr.title, mr.source_branch, mr.target_branch, mr.author.name)
end,
}, function(choice)
if not choice then