Henrik Lissner 2024-09-07 18:41:43 -04:00
parent 871efdce08
commit 737f91242a
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 2 additions and 11 deletions

View file

@ -366,13 +366,4 @@ and complains if a module is loaded too early (during startup)."
(dolist (mode evil-collection-mode-list)
(dolist (req (or (cdr-safe mode) (list mode)))
(with-eval-after-load req
(+evil-collection-init mode +evil-collection-disabled-list)))))
;; HACK: The Diff options in `save-some-buffers's prompt should persist after
;; you quit view-mode, but evil-collection-view's bindings on q/Q break
;; this, so these are here to restore them.
;; REVIEW: PR this upstream!
(map! :after (view evil-collection-view)
:map view-mode-map
:n "q" #'View-quit
:n "Q" #'View-quit-all))
(+evil-collection-init mode +evil-collection-disabled-list))))))

View file

@ -35,4 +35,4 @@
(package! neotree)
(autoload 'neotree-make-executor "neotree" nil nil 'macro))
(package! evil-collection :pin "772571fc6762b6cd1d35cc869e266de9a5c6022b"))
(package! evil-collection :pin "6365e7c8ae728f7a26294db261b6778d089a6263"))