pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.33k stars 125 forks source link

[ Feature Request ] squash and merge PR #274

Closed mthnglac closed 2 years ago

mthnglac commented 2 years ago

Issue Description

Type: feature request

Describe what happened (or what feature you want)

I want to be able to squash and merge my PR. As far as I realized from source code, right now it is sending only one option to its command function:

  ...

  merge_pr = function()
    require("octo.commands").merge_pr "commit"
  end,

  ...

Describe what you expected to happen

I'd like to have this mapping when I'm in pull request:

  ...

  pull_request = {
    squash_and_merge_pr = "<space>psm",
  },

  ...

or is there any way to accomplish this operation?

pwntester commented 2 years ago

Should be fixed now, please verify