refactor!(vertico): remove consult-preview-at-point-mode hook

BREAKING CHANGE: That function is only meant to be used in
the *Completions* buffer, which is only relevant if you're using embark
and consult without vertico. While it doesn't hurt, it's mostly unclear
why it's there in the first place when reading the modules
This commit is contained in:
Itai Y. Efrat 2022-12-01 02:03:51 +02:00 committed by Henrik Lissner
parent 3f3200f98d
commit 986603063f

View file

@ -292,12 +292,6 @@ orderless."
'(projectile-switch-project . project-file)))
(use-package! embark-consult
:after (embark consult)
:config
(add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode))
(use-package! wgrep
:commands wgrep-change-to-wgrep-mode
:config (setq wgrep-auto-save-buffer t))