mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
vertico: remove :demand t
from use-package
's
It didn't do anything for the `orderless` statement, and we can setup `embark-consult` correctly without it.
This commit is contained in:
@ -16,7 +16,6 @@
|
|||||||
[backspace] #'+vertico/backward-updir))
|
[backspace] #'+vertico/backward-updir))
|
||||||
|
|
||||||
(use-package! orderless
|
(use-package! orderless
|
||||||
:demand t
|
|
||||||
:config
|
:config
|
||||||
(defun +vertico-orderless-dispatch (pattern _index _total)
|
(defun +vertico-orderless-dispatch (pattern _index _total)
|
||||||
(cond
|
(cond
|
||||||
@ -154,9 +153,8 @@
|
|||||||
|
|
||||||
(use-package! embark-consult
|
(use-package! embark-consult
|
||||||
:after (embark consult)
|
:after (embark consult)
|
||||||
:demand t
|
:config
|
||||||
:hook
|
(add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode))
|
||||||
(embark-collect-mode . consult-preview-at-point-mode))
|
|
||||||
|
|
||||||
(use-package! wgrep
|
(use-package! wgrep
|
||||||
:commands wgrep-change-to-wgrep-mode
|
:commands wgrep-change-to-wgrep-mode
|
||||||
|
Reference in New Issue
Block a user