Fix load order

This commit is contained in:
Case Duckworth 2022-05-10 13:57:09 -05:00
parent f0a4617a52
commit a6085b58a2
1 changed files with 4 additions and 2 deletions

View File

@ -1269,7 +1269,8 @@
(setup (:straight clhs))
(setup (:straight consult)
(:require consult +consult)
(+with-ensure-after-init
(:require consult +consult))
;; from Consult wiki
(:option register-preview-delay 0
register-preview-function #'consult-register-format
@ -1332,7 +1333,7 @@
(:bind-into org
"M-g o" #'consult-org-heading)
(advice-add 'consult-yank-pop :after #'+yank@indent)
(:when-loaded
(+with-eval-after-loads (consult +consult)
(:option consult-narrow-key "<"
consult-project-root-function '+consult-project-root)
(consult-customize consult-theme
@ -1371,6 +1372,7 @@
(setf (alist-get buf-cmd vertico-multiform-commands) nil)))))
(setup (:straight consult-dir)
(:load-after consult)
(:+key "C-x C-d" #'consult-dir)
(:with-map vertico-map
(:bind "C-x C-d" #'consult-dir