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