From 986603063fafcc5c5bc39a639276758267476905 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Thu, 1 Dec 2022 02:03:51 +0200 Subject: [PATCH] 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 --- modules/completion/vertico/config.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/completion/vertico/config.el b/modules/completion/vertico/config.el index 2ff4f9fdf..04e79003e 100644 --- a/modules/completion/vertico/config.el +++ b/modules/completion/vertico/config.el @@ -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))