editor/fold: fix load-order dependency on evil

In case the user is enabling this module before the evil module.
This commit is contained in:
Henrik Lissner 2021-05-15 19:22:58 -04:00
parent 7383ed4dc1
commit 141938ef94

View file

@ -9,9 +9,10 @@
[remap evil-open-fold-rec] #'+fold/open [remap evil-open-fold-rec] #'+fold/open
[remap evil-close-folds] #'+fold/close-all [remap evil-close-folds] #'+fold/close-all
[remap evil-open-folds] #'+fold/open-all) [remap evil-open-folds] #'+fold/open-all)
(evil-define-key* 'motion 'global (after! evil
"zj" #'+fold/next (evil-define-key* 'motion 'global
"zk" #'+fold/previous)) "zj" #'+fold/next
"zk" #'+fold/previous)))
;; ;;