Enable disabling of magit-gitflow
Disabling magit-gitflow breaks magit-dispatch due to the unconditional application of `transient-replace-suffix`. With this change it is possible to disable magit-gitflow by adding the following to your private Doom configuration: (package! magit-gitflow :disable t)
This commit is contained in:
parent
473f4b1e12
commit
2cf91badf8
1 changed files with 5 additions and 2 deletions
|
@ -233,7 +233,10 @@ ensure it is built when we actually use Forge."
|
|||
(evil-define-key* evil-collection-magit-state git-rebase-mode-map
|
||||
"gj" #'git-rebase-move-line-down
|
||||
"gk" #'git-rebase-move-line-up))
|
||||
(transient-replace-suffix 'magit-dispatch 'magit-worktree
|
||||
'("%" "Gitflow" magit-gitflow-popup))
|
||||
|
||||
(after! magit-gitflow
|
||||
(transient-replace-suffix 'magit-dispatch 'magit-worktree
|
||||
'("%" "Gitflow" magit-gitflow-popup)))
|
||||
|
||||
(transient-append-suffix 'magit-dispatch '(0 -1 -1)
|
||||
'("*" "Worktree" magit-worktree)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue