mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-03 04:11:32 -08:00
fix(magit): evil-collection-magit-section overrides
These fixes for evil-collection-magit-section weren't being applied since2f7f37d49b, but any combination of `after!` (or `{with-}eval-after-load`) will convolute load order for users trying to rebind their own keys on top of ours *and* evil-collection's, and using `evil-collection-setup-hook` for this is clumsy, so I must resort to advice. Amend:2f7f37d49b
This commit is contained in:
parent
da071559e1
commit
1e1fd5c8e4
1 changed files with 3 additions and 1 deletions
|
|
@ -258,7 +258,9 @@ Only has an effect in GUI Emacs.")
|
|||
:defer t
|
||||
:init
|
||||
(defvar evil-collection-magit-section-use-z-for-folds evil-collection-magit-use-z-for-folds)
|
||||
(after! magit-section
|
||||
:config
|
||||
(defadvice! +magit--override-evil-collection-defaults-a (&rest _)
|
||||
:after #'evil-collection-magit-section-setup
|
||||
;; These numbered keys mask the numerical prefix keys. Since they've already
|
||||
;; been replaced with z1, z2, z3, etc (and 0 with g=), there's no need to
|
||||
;; keep them around:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue