fix(magit): add bindings for github-review

This commit is contained in:
Edmund Miller 2019-12-01 16:09:24 -06:00
parent 617e46152f
commit 89f4f9d88f
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
2 changed files with 51 additions and 1 deletions

View file

@ -110,7 +110,16 @@ ensure it is built when we actually use Forge."
(dolist (hook forge-bug-reference-hooks)
(add-hook hook #'forge-bug-reference-setup)))))))
(use-package! github-review)
(use-package! github-review
:after magit
:config
(transient-append-suffix 'magit-merge "i"
'("y" "Review pull request" +magit/start-github-review))
(after! forge
(transient-append-suffix 'forge-dispatch "c u"
'("c r" "Review pull request" +magit/start-github-review))))
(use-package! magit-todos
:after magit